summaryrefslogtreecommitdiffstats
path: root/system/netdata.logrotate.in
diff options
context:
space:
mode:
Diffstat (limited to 'system/netdata.logrotate.in')
-rw-r--r--system/netdata.logrotate.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/netdata.logrotate.in b/system/netdata.logrotate.in
index ae1ac50a..a766b6cc 100644
--- a/system/netdata.logrotate.in
+++ b/system/netdata.logrotate.in
@@ -7,6 +7,6 @@
notifempty
sharedscripts
postrotate
- /bin/kill -HUP `pidof netdata 2>/dev/null` 2>/dev/null || true
+ /bin/kill -HUP `cat @localstatedir_POST@/run/netdata/netdata.pid 2>/dev/null` 2>/dev/null || true
endscript
}