summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorCosta Tsaousis <costa@tsaousis.gr>2016-05-27 17:30:51 +0300
committerCosta Tsaousis <costa@tsaousis.gr>2016-05-27 17:30:51 +0300
commitc337f782fff71b7eb2f824264e09ebd81347d4ae (patch)
treef1642a4724882ad3b32dd0e452d33ccd509ca802 /system
parent898af188649b563ec8e1d689c563155b64366966 (diff)
fix for logrotation #453
Diffstat (limited to 'system')
-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 5c1e19d56c..d06944610a 100644
--- a/system/netdata.logrotate.in
+++ b/system/netdata.logrotate.in
@@ -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