mailman/mailman3.logrotate
2021-01-11 09:11:57 +08:00

12 lines
361 B
Plaintext

@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
}