summaryrefslogtreecommitdiffstats
path: root/system/netdata.service.in
diff options
context:
space:
mode:
authorAlon Bar-Lev <alon.barlev@gmail.com>2016-04-03 00:08:55 +0300
committerAlon Bar-Lev <alon.barlev@gmail.com>2016-04-03 00:13:10 +0300
commit458de8ae0d3c3da5626a30a2077a5116e09254cb (patch)
tree799521d581527672f7f33e97d1835dcfa140472a /system/netdata.service.in
parent8ee3cdc8ef057a9070712fd921d6a0cee01f51d5 (diff)
build: revert pid to live within /var/run/netdata
as pid processing is non standard fixing mechanism is out of scope. fix C code to follow the autoconf location. Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
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 094670ffc3..266bc65b1c 100644
--- a/system/netdata.service.in
+++ b/system/netdata.service.in
@@ -7,7 +7,7 @@ Type=forking
WorkingDirectory=/tmp
User=root
Group=root
-PIDFile=@localstatedir_POST@/run/netdata.pid
+PIDFile=@localstatedir_POST@/run/netdata/netdata.pid
ExecStart=@sbindir_POST@/netdata
ExecStop=/bin/kill -SIGTERM $MAINPID
TimeoutStopSec=30