service_started_path
Ensure that a service is running using the appropriate method, specifying the path of the service in the ps output, or using Windows task manager.
⚙️ Compatible targets: Linux
Parameters
| Name | Documentation |
|---|---|
| name | Service name (as recognized by systemd, init.d, Windows, etc...). This parameter is required. |
| path | Service with its path, as in the output from 'ps'. This parameter is required. |
Outcome conditions
You need to replace ${name} with its actual canonified value.
- ✅ Ok:
service_started_${name}_ok- ☑️ Already compliant:
service_started_${name}_kept - 🟨 Repaired:
service_started_${name}_repaired
- ☑️ Already compliant:
- ❌ Error:
service_started_${name}_error
Example
method: service_started_path
params:
name: VALUE
path: VALUE