Fixed PIDFile usage in systemd unit file
pavel committed
Apr 8, 2016 at 17:48 UTC
3bf22281bcdb6d937d454607ba3b603d0f589b61
1 file changed
+1
-1
system/netdata.service.in
+1
-1
@@ -8,7 +8,7 @@ WorkingDirectory=/tmp
8
User=root
9
Group=root
10
PIDFile=@localstatedir_POST@/run/netdata/netdata.pid
11
-ExecStart=@sbindir_POST@/netdata -pidfile $PIDFile
11
+ExecStart=@sbindir_POST@/netdata -pidfile @localstatedir_POST@/run/netdata/netdata.pid
12
ExecStop=/bin/kill -SIGTERM $MAINPID
13
TimeoutStopSec=30
14