systemd service items

Handles services managed by systemd.

svc_systemd = {
    "fcron.service": {
        "running": True,  # default
    },
    "sgopherd.socket": {
        "running": False,
    },
}

Attribute reference

Optional attributes

running

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


Canned actions

reload

Reloads the service.


restart

Restarts the service.