diff options
Diffstat (limited to 'system/netdata.logrotate.in')
-rw-r--r-- | system/netdata.logrotate.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/netdata.logrotate.in b/system/netdata.logrotate.in index ae1ac50a7..a766b6cce 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 } |