📦 — Fix "Add a make target for Debian packaging"
This commit is contained in:
12
config/reaction.debian.service
Normal file
12
config/reaction.debian.service
Normal file
@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=A daemon that scans program outputs for repeated patterns, and takes action.
|
||||
Documentation=https://framagit.org/ppom/reaction-wiki
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/reaction start -c /etc/reaction.jsonnet
|
||||
StateDirectory=reaction
|
||||
RuntimeDirectory=reaction
|
||||
WorkingDirectory=/var/lib/reaction
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -4,7 +4,7 @@ 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.yml
|
||||
ExecStart=/path/to/reaction start -c /etc/reaction.jsonnet
|
||||
|
||||
# Ask systemd to create /var/lib/reaction (/var/lib/ is implicit)
|
||||
StateDirectory=reaction
|
Reference in New Issue
Block a user