Reference
health-checks feature
What it doesPermalink to What it does#
Commands that must succeed before a trial boot is marked good.
Use itPermalink to Use it#
Every system has this feature: Vessel adds it to every configuration, so it never goes in the feature list. This part of a system configuration gives it items:
Example: feature-health-checks-example
(import (vessel system))
;; A trial boot passes only when every check exits with status 0.
(system-configuration
health-checks: (list '("/bin/mountpoint" "-q" "/home"))
features: %base-features)
Verified
A real system.sgl also sets the fields this example leaves out: the host name, kernel, boot loader and file systems. Every time the manual is built, it composes this configuration with Vessel's code and checks what the feature receives.
OptionsPermalink to Options#
None. This feature type takes no configuration.
What it addsPermalink to What it adds#
Its declared extensions target these feature types:
What it receivesPermalink to What it receives#
health-check: An argv list, claimed by its command line.
Used inPermalink to Used in#
No page refers to it yet.