mirror of
https://github.com/flancian/garden.git
synced 2026-08-04 05:26:18 +00:00
514 B
514 B
Systemd
- How to keep a user process running:
- Scripts go in
.config/systemd/user/, add an example.service file and then:systemctl --user start examplesystemctl --user enable example
- Before you can run enable above, you may need to enable lingering for the user in question. As root:
loginctl enable-linger username
- If you get any bus errors, you may need to:
export XDG_RUNTIME_DIR=/run/user/\id -u``