]> arthur.barton.de Git - netdata.git/blobdiff - system/netdata.service.in
Merge pull request #441 from glensc/logrotate
[netdata.git] / system / netdata.service.in
index 91e45a7463b81b916fbf0f3833edbcfb0e918c48..91db6122d8c6a0f8d2ede7f43bdc7c92ebf62aaa 100644 (file)
@@ -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,9 +7,10 @@ Type=forking
 WorkingDirectory=/tmp
 User=root
 Group=root
-PIDFile=@localstatedir_POST@/run/netdata/netdata.pid
-ExecStart=@sbindir_POST@/netdata -pidfile @localstatedir_POST@/run/netdata/netdata.pid
-ExecStop=/bin/kill -SIGTERM $MAINPID
+PIDFile=@localstatedir_POST@/run/netdata.pid
+ExecStart=@sbindir_POST@/netdata -pidfile @localstatedir_POST@/run/netdata.pid
+KillMode=mixed
+KillSignal=SIGTERM
 TimeoutStopSec=30
 
 [Install]