]> 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 91e45a7463b81b916fbf0f3833edbcfb0e918c48..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]
@@ -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]