Update the mailman role for Mailman 3
This commit is contained in:
parent
547877d221
commit
18bccd797f
16 changed files with 193 additions and 96 deletions
11
files/lists-dev/mailman.logrotate.j2
Normal file
11
files/lists-dev/mailman.logrotate.j2
Normal file
|
@ -0,0 +1,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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue