fixed logrotate
Costa Tsaousis (ktsaou) committed
Aug 17, 2016 at 10:25 UTC
2926831a158d53d5a998b16639ad2d78ce36281a
1 file changed
+1
-1
system/netdata.logrotate.in
+1
-1
@@ -8,6 +8,6 @@
8
sharedscripts
9
create 0664 netdata netdata
10
postrotate
11
- /sbin/killall -HUP netdata
11
+ /bin/kill -HUP `pidof netdata 2>/dev/null` 2>/dev/null || true
12
endscript
13
}