Commit ed25f05
authored
Add systemd unit files for downstream packagers (#612)
This commit stages some systemd unit files that could serve as a
reference for interested users or downstream Linux packagers.
There are two files: one to run the daemon itself, and one to set up
socket activation.
To enable roborev without socket activation you'd do:
$ systemctl --user enable --now roborev.service
and to enable socket activation, you'd ensure `server_addr = "unix://"`
is set in the roborev config, and then
$ systemctl --user disable --now roborev.service || true
$ systemctl --user enable --now roborev.socket
Note that the `ExecStart` entry assumes the roborev binary will be
installed in `/usr/bin`, not `~/.local/bin`. I think this is correct for
downstream Linux packagers but it might be confusing for end users who
want to install these units "manually".
Signed-off-by: Aaron Jacobs <atheriel@gmail.com>1 parent b814db6 commit ed25f05
2 files changed
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
0 commit comments