mailman/mailman3.logrotate

12 lines
361 B
Plaintext
Raw Normal View History

2021-01-04 10:29:00 +08:00
@LOGDIR@/*.log {
missingok
sharedscripts
su mailman mailman
postrotate
/bin/kill -HUP `cat /run/mailman3/master.pid 2>/dev/null` 2>/dev/null || true
# Don't run "mailman3 reopen" with SELinux on here in the logrotate
# context, it will be blocked
#@BINDIR@/mailman3 reopen >/dev/null 2>&1 || true
endscript
}