]> arthur.barton.de Git - netdata.git/blobdiff - system/netdata.service.in
Let systemd handle killing the processes
[netdata.git] / system / netdata.service.in
index bc26cc9dcc83aec3df4adcf5e062af9f098cde3f..91db6122d8c6a0f8d2ede7f43bdc7c92ebf62aaa 100644 (file)
@@ -9,7 +9,8 @@ User=root
 Group=root
 PIDFile=@localstatedir_POST@/run/netdata.pid
 ExecStart=@sbindir_POST@/netdata -pidfile @localstatedir_POST@/run/netdata.pid
-ExecStop=/bin/kill -SIGTERM $MAINPID
+KillMode=mixed
+KillSignal=SIGTERM
 TimeoutStopSec=30
 
 [Install]