summaryrefslogtreecommitdiff
path: root/cyrus-imapd.logrotate
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-01 14:15:50 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-01 14:15:50 +0000
commit1bb6cd3e44793f984a185599a1b67bec1746c9cb (patch)
tree40335c0662c5a1759dddb4cd77dec610d4a48459 /cyrus-imapd.logrotate
parent8b4f6660a4ef8974e8d1cb34f6ba34b66598d9f8 (diff)
automatic import of cyrus-imapdopeneuler24.03_LTSopeneuler23.09
Diffstat (limited to 'cyrus-imapd.logrotate')
-rw-r--r--cyrus-imapd.logrotate7
1 files changed, 7 insertions, 0 deletions
diff --git a/cyrus-imapd.logrotate b/cyrus-imapd.logrotate
new file mode 100644
index 0000000..2f55827
--- /dev/null
+++ b/cyrus-imapd.logrotate
@@ -0,0 +1,7 @@
+/var/log/imapd.log /var/log/auth.log {
+ missingok
+ sharedscripts
+ postrotate
+ /bin/kill -HUP `cat /var/run/rsyslogd.pid 2> /dev/null` 2> /dev/null || true
+ endscript
+}