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