Skip to main content

SystemdCheck

A check that can be run on the host to ensure systemd service(s) are in a successful state, as defined by systemctl status returning success.

CharacteristicValue
Typeobject

Properties

name (optional)

Name of the check.

CharacteristicValue
Typestring

runOn (optional)

List of servicing types that the check should run on. Valid servicing types are CleanInstall and AbUpdate, if All is specified, the check will run for both CleanInstall and AbUpdate.

CharacteristicValue
Typearray
  • Items of the array must have the type:

    CharacteristicValue
    TypeServicingTypeSelection
    LinkServicingTypeSelection

systemdServices (optional)

List of systemd services that need to be in successful state.

CharacteristicValue
Typearray
  • Items of the array must have the type:

    CharacteristicValue
    Typestring

timeoutSeconds (optional)

Timeout for the systemd check, in seconds. If the service is found to be in an unsuccessful state, it will be requeried every 100ms until the timeout is reached. If the timeout is reached and the service is still unsuccessful, an error is returned. If 0 is specified, the services will be checked once and the check will return immediately.

CharacteristicValue
Typeinteger
Default30
Formatuint