summaryrefslogtreecommitdiff
path: root/system/graphite-web/graphite-web.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'system/graphite-web/graphite-web.logrotate')
-rw-r--r--system/graphite-web/graphite-web.logrotate8
1 files changed, 8 insertions, 0 deletions
diff --git a/system/graphite-web/graphite-web.logrotate b/system/graphite-web/graphite-web.logrotate
new file mode 100644
index 0000000000..fad29bef4c
--- /dev/null
+++ b/system/graphite-web/graphite-web.logrotate
@@ -0,0 +1,8 @@
+/var/log/graphite/*.log {
+ weekly
+ missingok
+ rotate 4
+ compress
+ notifempty
+ create 644 graphite graphite
+}