Skip to content

os.service

Manage services across platforms (systemd, launchd, Windows)

Properties

Property Type Required Description
daemon_reload boolean No Run 'systemctl daemon-reload' after unit file changes (systemd only)
dropin object No -
enabled boolean No Enable service to start on boot (systemd: enable/disable, launchd: bootstrap/bootout)
name string Yes Service name (systemd: nginx, launchd: com.example.app)
state string No Desired service state (allowed: started, stopped, restarted, reloaded)
unit object No -

Platform Support

linux, darwin, windows