service_ensure_running

Ensure that a service is running using the appropriate method.

⚙️ Compatible targets: Linux, Windows

⚠️ Deprecated: This method is deprecated and should not be used.

Parameters

NameDocumentation
nameService name (as recognized by systemd, init.d, etc...).

This parameter is required.

Outcome conditions

You need to replace ${name} with its actual canonified value.

  • ✅ Ok: service_ensure_running_${name}_ok
    • ☑️ Already compliant: service_ensure_running_${name}_kept
    • 🟨 Repaired: service_ensure_running_${name}_repaired
  • ❌ Error: service_ensure_running_${name}_error

Example

method: service_ensure_running
params:
  name: VALUE