summaryrefslogtreecommitdiffstats
path: root/system/netdata.service.in
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--system/netdata.service.in (renamed from system/netdata-systemd)6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/netdata-systemd b/system/netdata.service.in
index 7033cef6..bc26cc9d 100644
--- a/system/netdata-systemd
+++ b/system/netdata.service.in
@@ -1,5 +1,5 @@
[Unit]
-Description=netdata
+Description=Linux real time system monitoring, over the web
After=network.target httpd.service squid.service nfs-server.service mysqld.service named.service postfix.service
[Service]
@@ -7,8 +7,8 @@ Type=forking
WorkingDirectory=/tmp
User=root
Group=root
-PIDFile=/var/run/netdata/netdata.pid
-ExecStart=/usr/sbin/netdata
+PIDFile=@localstatedir_POST@/run/netdata.pid
+ExecStart=@sbindir_POST@/netdata -pidfile @localstatedir_POST@/run/netdata.pid
ExecStop=/bin/kill -SIGTERM $MAINPID
TimeoutStopSec=30