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§
- Service
Spec - 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.