summaryrefslogtreecommitdiff
path: root/redis.logrotate
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-11-04 03:01:09 +0000
committerCoprDistGit <infra@openeuler.org>2024-11-04 03:01:09 +0000
commit21a195c0fbaf7352a1aa708f1360e5a24034b494 (patch)
tree2682f8d2ad236cdd327bf95cf6bf9489d46fb2f8 /redis.logrotate
parent3b8dddec9264f75817af94f6e2dca3d5d753612d (diff)
automatic import of redis6
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..3a3d185
--- /dev/null
+++ b/redis.logrotate
@@ -0,0 +1,9 @@
+/var/log/redis/*.log {
+ weekly
+ rotate 10
+ copytruncate
+ delaycompress
+ compress
+ notifempty
+ missingok
+}