Skip to content

os.systemd

Manage a systemd unit file with daemon-reload, enable, start

Properties

Property Type Required Description
enabled boolean No -
install object No -
name string Yes -
path string No -
reload_on_change boolean No -
scope string No - (allowed: system, user)
service object No -
socket object No -
started boolean No -
state string No -
timer object No -
unit object No -

Platform Support

linux

Events Emitted

  • file.updated