summaryrefslogtreecommitdiff
path: root/redis.logrotate
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-05-05 03:47:38 +0000
committerCoprDistGit <infra@openeuler.org>2025-05-05 03:47:38 +0000
commit148a710d14f8e717c2e1a8613c1c32574c12052d (patch)
treea005d8947f0ede9527eac93f6e184b0bc14db39b /redis.logrotate
parent6ce27ce37661e37e0d4420d95682204bd0587bbd (diff)
automatic import of redis
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
+}