summaryrefslogtreecommitdiff
path: root/logrotate
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-02-14 06:41:17 +0000
committerCoprDistGit <infra@openeuler.org>2025-02-14 06:41:17 +0000
commitf218c22f9c55aa723f02491622b71b91187f0b6b (patch)
treeb59feb31b599077d501bc52e2d7c543c8a248422 /logrotate
parent39352f18ea3d446503b2b77e21f3457f5420cf9d (diff)
automatic import of resalloc
Diffstat (limited to 'logrotate')
-rw-r--r--logrotate15
1 files changed, 15 insertions, 0 deletions
diff --git a/logrotate b/logrotate
new file mode 100644
index 0000000..f1ff9a3
--- /dev/null
+++ b/logrotate
@@ -0,0 +1,15 @@
+compress
+
+/var/log/resallocserver/main.log {
+ missingok
+ notifempty
+ rotate 4
+ weekly
+ copytruncate
+}
+
+/var/log/resallocserver/hooks.log {
+ missingok
+ rotate 7
+ daily
+}