X-Git-Url: https://arthur.barton.de/gitweb/?a=blobdiff_plain;f=system%2Fnetdata.logrotate.in;h=ae1ac50a7556c4c944742383c20367229b7f8f12;hb=e204b2b490b69d67ff73b37e22cf3e429ed9506a;hp=763eb09c930d66aa1d1d5ee25fc037d7c6419fff;hpb=e4506e87f913284acc0a01033b26f53d7145e639;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 } -