diff options
author | Lennart Weller <lhw@ring0.de> | 2017-05-24 10:22:55 +0000 |
---|---|---|
committer | Lennart Weller <lhw@ring0.de> | 2017-05-24 10:23:37 +0000 |
commit | 45d2f0417f5bf9896423928f43b8ec285886ee90 (patch) | |
tree | 62a7a07fddaf01cb4097f2158d11da5527e0397c | |
parent | Release v. 1.6.0+dfsg-1 to Unstable (diff) | |
download | netdata-45d2f0417f5bf9896423928f43b8ec285886ee90.tar.xz netdata-45d2f0417f5bf9896423928f43b8ec285886ee90.zip |
HUP daemon for logrotate instead of restart
-rw-r--r-- | debian/netdata.logrotate | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/debian/netdata.logrotate b/debian/netdata.logrotate index 8290a2b59..71792f674 100644 --- a/debian/netdata.logrotate +++ b/debian/netdata.logrotate @@ -8,10 +8,6 @@ rotate 14 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 } - - |