Skip to content

Latest commit

 

History

History
56 lines (36 loc) · 843 Bytes

item_svc_systemd.rst

File metadata and controls

56 lines (36 loc) · 843 Bytes

systemd service items

Handles services managed by systemd.

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

Attribute reference

The list of generic builtin item attributes <builtin_item_attributes>

Optional attributes

running

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

Canned actions

Explanation of how canned actions work <canned_actions>

reload

Reloads the service.

restart

Restarts the service.