systemd — systemd units and services
systemd check searches the list of running systemd units and services, and asserts that units are running, stopped, or missing.
Check that a service is running:
[[systemd]] service = 'sshd'
Check that a service is stopped:
[[systemd]] service = 'httpd' state = 'stopped'
List of parameters
|service||string||Name of the systemd service.|
|state||string||State of the systemd service. This can be |