FreeBSD service items

Handles services on FreeBSD.

svc_freebsd = {
    "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 FreeBSD, 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.


stop

Stops the service.


stopstart

Stops and starts the service.