service_ensure_running_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

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

Parameters

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

This parameter is required.
pathService 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_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_path
params:
  name: VALUE
  path: VALUE