📦 — Fix "Add a make target for Debian packaging"

This commit is contained in:
ppom
2023-12-20 12:00:00 +01:00
parent 50e214c403
commit 380599c80a
5 changed files with 33 additions and 24 deletions

View File

@ -0,0 +1,14 @@
# vim: ft=systemd
[Install]
WantedBy=multi-user.target
# See `man systemd.exec` and `man systemd.service` for most options below
[Service]
ExecStart=/path/to/reaction start -c /etc/reaction.jsonnet
# Ask systemd to create /var/lib/reaction (/var/lib/ is implicit)
StateDirectory=reaction
# Ask systemd to create /run/reaction at runtime (/run/ is implicit)
RuntimeDirectory=reaction
# Start reaction in its state directory
WorkingDirectory=/var/lib/reaction