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.

Example

method: service_ensure_running_path
params:
  path: VALUE
  name: VALUE