aboutsummaryrefslogtreecommitdiffstats
path: root/main/redis/redis.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'main/redis/redis.logrotate')
-rw-r--r--main/redis/redis.logrotate5
1 files changed, 5 insertions, 0 deletions
diff --git a/main/redis/redis.logrotate b/main/redis/redis.logrotate
new file mode 100644
index 0000000000..aa5f6a2547
--- /dev/null
+++ b/main/redis/redis.logrotate
@@ -0,0 +1,5 @@
+/var/log/redis/redis.log {
+ notifempty
+ copytruncate
+ missingok
+}