summaryrefslogtreecommitdiffstats
path: root/redis.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'redis.logrotate')
-rw-r--r--redis.logrotate9
1 files changed, 9 insertions, 0 deletions
diff --git a/redis.logrotate b/redis.logrotate
new file mode 100644
index 0000000..43addc6
--- /dev/null
+++ b/redis.logrotate
@@ -0,0 +1,9 @@
+/var/log/redis/redis.log {
+ weekly
+ rotate 10
+ copytruncate
+ delaycompress
+ compress
+ notifempty
+ missingok
+}