diff options
author | pavel <pavel.github@outlook.com> | 2016-04-08 17:48:16 -0400 |
---|---|---|
committer | pavel <pavel.github@outlook.com> | 2016-04-08 17:48:16 -0400 |
commit | 3bf22281bcdb6d937d454607ba3b603d0f589b61 (patch) | |
tree | 5c7323d185445aca0b85cba6992764a136183338 | |
parent | 31a1faf7ad89b66a68b0ac548f1c9a9dfc3c37af (diff) |
Fixed PIDFile usage in systemd unit file
-rw-r--r-- | system/netdata.service.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/netdata.service.in b/system/netdata.service.in index e828707ab6..91e45a7463 100644 --- a/system/netdata.service.in +++ b/system/netdata.service.in @@ -8,7 +8,7 @@ WorkingDirectory=/tmp User=root Group=root PIDFile=@localstatedir_POST@/run/netdata/netdata.pid -ExecStart=@sbindir_POST@/netdata -pidfile $PIDFile +ExecStart=@sbindir_POST@/netdata -pidfile @localstatedir_POST@/run/netdata/netdata.pid ExecStop=/bin/kill -SIGTERM $MAINPID TimeoutStopSec=30 |