diff options
Diffstat (limited to 'network/graphite-carbon/graphite-carbon.logrotate')
-rw-r--r-- | network/graphite-carbon/graphite-carbon.logrotate | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/network/graphite-carbon/graphite-carbon.logrotate b/network/graphite-carbon/graphite-carbon.logrotate new file mode 100644 index 0000000000..7b769425a8 --- /dev/null +++ b/network/graphite-carbon/graphite-carbon.logrotate @@ -0,0 +1,13 @@ +/var/log/carbon/*.log { + weekly + missingok + rotate 7 + compress + delaycompress + notifempty + create 644 graphite graphite + sharedscripts + postrotate + /etc/rc.d/rc.carbon-cache restart > /dev/null + endscript +} |