initial commit of file from CVS for smeserver-dovecot on Thu 26 Oct 11:25:44 BST 2023
This commit is contained in:
18
root/etc/logrotate.d/dovecot
Normal file
18
root/etc/logrotate.d/dovecot
Normal file
@@ -0,0 +1,18 @@
|
||||
/var/log/dovecot/dovecot.log {
|
||||
weekly
|
||||
rotate 4
|
||||
missingok
|
||||
notifempty
|
||||
compress
|
||||
delaycompress
|
||||
sharedscripts
|
||||
su root root
|
||||
create 600 root root
|
||||
postrotate
|
||||
#/usr/bin/systemctl reload-or-try-restart dovecot
|
||||
# kill -s USR2 `cat /var/run/dovecot/master.pid`
|
||||
doveadm log reopen
|
||||
# in case of issues with SELinux
|
||||
# kill -s 0 `cat /var/run/dovecot/master.pid` || kill -s USR1 `cat /var/run/dovecot/master.pid`
|
||||
endscript
|
||||
}
|
Reference in New Issue
Block a user