summaryrefslogtreecommitdiffstats
path: root/system/netdata.logrotate.in
diff options
context:
space:
mode:
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>2016-08-17 10:25:00 +0300
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>2016-08-17 10:25:00 +0300
commit2926831a158d53d5a998b16639ad2d78ce36281a (patch)
treefcb5f989810dca07eedf84dc50efb2283e86b689 /system/netdata.logrotate.in
parent07f18e338185191ec8a52e1e5dc81fe59ca1b64b (diff)
fixed logrotate
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 7858ef0dc5..a026a8a517 100644
--- a/system/netdata.logrotate.in
+++ b/system/netdata.logrotate.in
@@ -8,6 +8,6 @@
sharedscripts
create 0664 netdata netdata
postrotate
- /sbin/killall -HUP netdata
+ /bin/kill -HUP `pidof netdata 2>/dev/null` 2>/dev/null || true
endscript
}