2023-12-20 15:56:22 +01:00
|
|
|
[Unit]
|
|
|
|
Description=A daemon that scans program outputs for repeated patterns, and takes action.
|
|
|
|
Documentation=https://framagit.org/ppom/reaction-wiki
|
2024-03-27 12:00:00 +01:00
|
|
|
# Ensure reaction will insert its chain after docker has inserted theirs. Only useful when iptables & docker are used
|
|
|
|
# After=docker.service
|
2023-12-20 15:56:22 +01:00
|
|
|
|
|
|
|
[Service]
|
2023-12-20 12:00:00 +01:00
|
|
|
ExecStart=/usr/bin/reaction start -c /etc/reaction.jsonnet
|
2023-12-20 15:56:22 +01:00
|
|
|
StateDirectory=reaction
|
|
|
|
RuntimeDirectory=reaction
|
|
|
|
WorkingDirectory=/var/lib/reaction
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|