]> arthur.barton.de Git - netdata.git/commitdiff
Merge pull request #460 from ktsaou/master
authorCosta Tsaousis <costa@tsaousis.gr>
Fri, 27 May 2016 14:37:36 +0000 (17:37 +0300)
committerCosta Tsaousis <costa@tsaousis.gr>
Fri, 27 May 2016 14:37:36 +0000 (17:37 +0300)
fix for logrotation #453

system/netdata.logrotate.in

index 5c1e19d56c45c8b8f754359f8821b7bc1c553a75..d06944610adc312974f5927b033bedd6cdc1fc64 100644 (file)
@@ -10,7 +10,7 @@
        # if you add netdata to your init.d/system.d
        # comment su & copytruncate and uncomment postrotate
        # to have netdata restart when logs are rotated
-       su netdata
+       create 0640 netdata netdata
        copytruncate
        #
        #postrotate