Expand description
Linux backend: systemd user unit at
$XDG_CONFIG_HOME/systemd/user/runpm-daemon.service.
install writes the unit and runs systemctl --user enable runpm-daemon.service. If systemctl is missing or fails (operator
is on a non-systemd Linux, or sd-bus is unavailable in this session)
the file is still written and the path is returned, with a warning.
Functionsยง
- install
- render_
unit - Render the systemd unit file body with
daemon_binarybaked in. - uninstall
- unit_
path - Resolve the unit-file path:
$XDG_CONFIG_HOME/systemd/user/runpm-daemon.servicewith a~/.config/systemd/user/fallback whenXDG_CONFIG_HOMEis unset.