service_restart

Restart a service using the appropriate method.

⚙️ Compatible targets: Linux, Windows

Parameters

NameDocumentation
nameName 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
  • ❌ Error: service_restart_${name}_error

Example

method: service_restart
params:
  name: VALUE

Documentation

See service_action for documentation.