mirror of
https://framagit.org/ppom/reaction
synced 2024-05-08 12:26:33 +02:00
21 lines
737 B
Desktop File
21 lines
737 B
Desktop File
# vim: ft=systemd
|
|
[Unit]
|
|
Description=A daemon that scans program outputs for repeated patterns, and takes action.
|
|
Documentation=https://reaction.ppom.me
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
# Ensure reaction will insert its chain after docker has inserted theirs. Only useful when iptables & docker are used
|
|
# After=docker.service
|
|
|
|
# See `man systemd.exec` and `man systemd.service` for most options below
|
|
[Service]
|
|
ExecStart=/usr/bin/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
|