systemd service: config file must live in /etc/reaction/

This is a breaking change, but it unifies config
for yaml, json, jsonnet and directory users.
This commit is contained in:
ppom 2026-02-12 12:00:00 +01:00
commit 270c6cb969
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@ Documentation=https://reaction.ppom.me
# See `man systemd.exec` and `man systemd.service` for most options below
[Service]
ExecStart=/usr/local/bin/reaction start -c /etc/reaction.jsonnet
ExecStart=/usr/local/bin/reaction start -c /etc/reaction/
# Ask systemd to create /var/lib/reaction (/var/lib/ is implicit)
StateDirectory=reaction

View file

@ -7,7 +7,7 @@ Documentation=https://reaction.ppom.me
# See `man systemd.exec` and `man systemd.service` for most options below
[Service]
ExecStart=/usr/bin/reaction start -c /etc/%i
ExecStart=/usr/bin/reaction start -c /etc/reaction/
# Ask systemd to create /var/lib/reaction (/var/lib/ is implicit)
StateDirectory=reaction