service_restart
Restart a service using the appropriate method.
⚙️ Compatible targets: Linux, Windows
Parameters
Name | Documentation |
---|---|
name | Name of the service. This parameter is required. |
Outcome conditions
You need to replace ${name}
with its actual canonified value.
- ✅ Ok:
service_restart_${name}_ok
- ☑️ Already compliant:
service_restart_${name}_kept
- 🟨 Repaired:
service_restart_${name}_repaired
- ☑️ Already compliant:
- ❌ Error:
service_restart_${name}_error
Example
method: service_restart
params:
name: VALUE
Documentation
See service_action for documentation.