]> arthur.barton.de Git - netdata.git/commitdiff
fixed logrotate
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Wed, 17 Aug 2016 07:25:00 +0000 (10:25 +0300)
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Wed, 17 Aug 2016 07:25:00 +0000 (10:25 +0300)
system/netdata.logrotate.in

index 7858ef0dc5055ad71fd94d0c6e1dab0257098955..a026a8a5176620fc1700f90d05c4ac5b7142e37f 100644 (file)
@@ -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
 }