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.
| Characteristic | Value |
|---|---|
| Type | object |
Properties
name (optional)
Name of the check.
| Characteristic | Value |
|---|---|
| Type | string |
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.
| Characteristic | Value |
|---|---|
| Type | array |
-
Items of the array must have the type:
Characteristic Value Type ServicingTypeSelectionLink ServicingTypeSelection
systemdServices (optional)
List of systemd services that need to be in successful state.
| Characteristic | Value |
|---|---|
| Type | array |
-
Items of the array must have the type:
Characteristic Value Type string
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.
| Characteristic | Value |
|---|---|
| Type | integer |
| Default | 30 |
| Format | uint |