summaryrefslogtreecommitdiffstats
path: root/system/netdata.service.in
diff options
context:
space:
mode:
authorpavel <pavel.github@outlook.com>2016-04-08 17:48:16 -0400
committerpavel <pavel.github@outlook.com>2016-04-08 17:48:16 -0400
commit3bf22281bcdb6d937d454607ba3b603d0f589b61 (patch)
tree5c7323d185445aca0b85cba6992764a136183338 /system/netdata.service.in
parent31a1faf7ad89b66a68b0ac548f1c9a9dfc3c37af (diff)
Fixed PIDFile usage in systemd unit file
Diffstat (limited to 'system/netdata.service.in')
-rw-r--r--system/netdata.service.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/netdata.service.in b/system/netdata.service.in
index e828707ab6..91e45a7463 100644
--- a/system/netdata.service.in
+++ b/system/netdata.service.in
@@ -8,7 +8,7 @@ WorkingDirectory=/tmp
User=root
Group=root
PIDFile=@localstatedir_POST@/run/netdata/netdata.pid
-ExecStart=@sbindir_POST@/netdata -pidfile $PIDFile
+ExecStart=@sbindir_POST@/netdata -pidfile @localstatedir_POST@/run/netdata/netdata.pid
ExecStop=/bin/kill -SIGTERM $MAINPID
TimeoutStopSec=30