summaryrefslogtreecommitdiffstats
path: root/files/lists-dev/mailman.logrotate.j2
blob: 048e3a3051e59e653f934240d8b5f5ad99e8e29b (plain)
1
2
3
4
5
6
7
8
9
10
11
{{ mailman_webui_basedir }}/var/logs/*.log {
    missingok
    sharedscripts
    su mailman mailman
    postrotate
        /bin/kill -HUP `cat {{ mailman_webui_basedir }}/var/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
}