OpenBSD service items

Handles services on OpenBSD.

svc_openbsd = {
    "bgpd": {
        "enabled": True, # default
        "running": True,  # default
    },
    "supervisord": {
        "running": False,
    },
}


Attribute reference

See also: The list of generic builtin item attributes


enabled

True if the service shall be automatically started during system bootup; False otherwise. True, the default value, is needed on OpenBSD, as starting disabled services fails.


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

restart

Restarts the service.


stopstart

Stops and starts the service.