openrc service items

Handles services managed by openrc.

svc_openrc = {
    "sshd": {
        "enabled": True,  # default
        "running": True,  # default
    },
    "nginx": {
        "enabled": False,
        "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. None makes BundleWrap ignore this setting.


running

True if the service is expected to be running on the system; False if it should be stopped. None makes BundleWrap ignore this setting.


Canned actions

See also: Explanation of how canned actions work

reload

Reloads the service. Not all services support reloading.


restart

Restarts the service.


stop

Stops the service.