]> arthur.barton.de Git - netdata.git/blobdiff - system/netdata.service.in
fixed memory leak in web_client_free()
[netdata.git] / system / netdata.service.in
index 094670ffc308a5f5c7b0a60259dc55511e46a8d8..5a119553cb2c804390693288540697c0e3bd9feb 100644 (file)
@@ -1,5 +1,5 @@
 [Unit]
-Description=netdata
+Description=Linux real time system monitoring, done right
 After=network.target httpd.service squid.service nfs-server.service mysqld.service named.service postfix.service
 
 [Service]
@@ -8,8 +8,9 @@ WorkingDirectory=/tmp
 User=root
 Group=root
 PIDFile=@localstatedir_POST@/run/netdata.pid
-ExecStart=@sbindir_POST@/netdata
-ExecStop=/bin/kill -SIGTERM $MAINPID
+ExecStart=@sbindir_POST@/netdata -pidfile @localstatedir_POST@/run/netdata.pid
+KillMode=mixed
+KillSignal=SIGTERM
 TimeoutStopSec=30
 
 [Install]