ansible/roles/mailman/templates/mailman.logrotate.j2

12 lines
389 B
Text
Raw Normal View History

2015-04-02 09:37:53 +00:00
{{ mailman_webui_basedir }}/var/logs/*.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
#/usr/bin/mailman3 reopen >/dev/null 2>&1 || true
endscript
}