X-Git-Url: https://arthur.barton.de/gitweb/?a=blobdiff_plain;f=system%2Fnetdata.logrotate.in;h=ae1ac50a7556c4c944742383c20367229b7f8f12;hb=aa6b96fc2d421517a59a1aaaf91be5f201d34287;hp=763eb09c930d66aa1d1d5ee25fc037d7c6419fff;hpb=37cb08efe88d63174877ebaa1868298e862caafd;p=netdata.git diff --git a/system/netdata.logrotate.in b/system/netdata.logrotate.in index 763eb09c..ae1ac50a 100644 --- a/system/netdata.logrotate.in +++ b/system/netdata.logrotate.in @@ -7,9 +7,6 @@ notifempty sharedscripts postrotate - if service netdata status > /dev/null ; then \ - service netdata restart > /dev/null; \ - fi; + /bin/kill -HUP `pidof netdata 2>/dev/null` 2>/dev/null || true endscript } -