System V service items

Handles services managed by traditional System V init scripts.

svc_systemv = {
    "apache2": {
        "running": True,  # default
    },
    "mysql": {
        "running": False,
    },
}



Attribute reference

See also: The list of generic builtin item attributes


running

True if the service is expected to be running on the system; False if it should be stopped.


Canned actions

See also: Explanation of how canned actions work

reload

Reloads the service.


restart

Restarts the service.


stop

Stops the service.