summaryrefslogtreecommitdiff
path: root/community/darkstat/darkstat.service
diff options
context:
space:
mode:
Diffstat (limited to 'community/darkstat/darkstat.service')
-rw-r--r--community/darkstat/darkstat.service6
1 files changed, 3 insertions, 3 deletions
diff --git a/community/darkstat/darkstat.service b/community/darkstat/darkstat.service
index b92eff85c..07b72a876 100644
--- a/community/darkstat/darkstat.service
+++ b/community/darkstat/darkstat.service
@@ -5,13 +5,13 @@ After=network.target
[Service]
Type=simple
EnvironmentFile=/etc/conf.d/darkstat.conf
-PIDFile=/var/darkstat/darkstat.pid
+PIDFile=/run/darkstat.pid
ExecStart=/usr/sbin/darkstat --user "darkstat" --chroot "/var/darkstat" \
--import "darkstat.dat" --export "darkstat.dat" \
- --pidfile /var/darkstat/darkstat.pid \
+ --pidfile /run/darkstat.pid \
-b 0.0.0.0 \
-i "$DARKSTAT_IFACE" $DARKSTAT_ARGS
-ExecStopPost=/bin/rm -f /var/darkstat/darkstat.pid
+ExecStopPost=/bin/rm -f /run/darkstat.pid
[Install]
WantedBy=multi-user.target