Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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.