mirror of
https://framagit.org/ppom/reaction
synced 2026-03-14 12:45:47 +01:00
24 lines
829 B
Desktop File
24 lines
829 B
Desktop File
# vim: ft=systemd
|
|
[Unit]
|
|
Description=reaction daemon
|
|
Documentation=https://reaction.ppom.me
|
|
# 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/
|
|
|
|
# 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
|
|
# Let reaction kill its child processes first
|
|
KillMode=mixed
|
|
# Put reaction in its own slice so that plugins can be grouped within.
|
|
Slice=system-reaction.slice
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|