]> arthur.barton.de Git - netdata.git/commitdiff
fix for logrotation #453
authorCosta Tsaousis <costa@tsaousis.gr>
Fri, 27 May 2016 14:30:51 +0000 (17:30 +0300)
committerCosta Tsaousis <costa@tsaousis.gr>
Fri, 27 May 2016 14:30:51 +0000 (17:30 +0300)
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