mirror of
https://framagit.org/ppom/reaction
synced 2026-03-14 12:45:47 +01:00
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:
parent
15f923ef64
commit
270c6cb969
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue