Skip to main content

Module service

Module service 

Source
Expand description

omni daemon service-unit generation (bd-b5c55a).

Render (and optionally install) a host service unit that runs omni daemon as a managed service: systemd (Linux), launchd (macOS), or supervisord. Generation is pure + unit-tested; installation writes the rendered unit to the platform’s standard path and returns the enable command to run.

Structs§

ServiceSpec
What the service unit runs.

Enums§

Platform
A host service manager.

Constants§

LAUNCHD_LABEL
launchd reverse-DNS label.
SERVICE_NAME
Stable service/program name + launchd label.

Functions§

enable_hint
The command to enable/load the unit after installing it.
install
Render and write the unit to its standard path; returns the path + the enable command to run.
render
Render the unit text for platform.
unit_path
The standard install path for a platform’s unit.