[mailman3] Fix the migration task
DB migration task failed on settings.py and permissions. Let's fix that. Signed-off-by: Michal Konecny <mkonecny@redhat.com>
This commit is contained in:
parent
e66b73760b
commit
24f93a1f50
2 changed files with 3 additions and 3 deletions
|
@ -207,7 +207,7 @@
|
|||
ansible.builtin.template:
|
||||
src: settings.py.j2
|
||||
dest: "{{ mailman_webui_confdir }}/settings.py"
|
||||
owner: root
|
||||
owner: mailman
|
||||
group: apache
|
||||
mode: 0640
|
||||
tags:
|
||||
|
|
|
@ -336,14 +336,14 @@ LOGGING = {
|
|||
'handlers': {
|
||||
'mail_admins': {
|
||||
'level': 'ERROR',
|
||||
'filters': ['require_debug_false', 'exclude_useless_errors'],
|
||||
'filters': ['require_debug_false'],
|
||||
'class': 'django.utils.log.AdminEmailHandler'
|
||||
},
|
||||
'file':{
|
||||
'level': 'DEBUG',
|
||||
#'class': 'logging.handlers.RotatingFileHandler',
|
||||
'class': 'logging.handlers.WatchedFileHandler',
|
||||
'filename': '/var/log/hyperkitty/hyperkitty.log',
|
||||
'filename': '{{ mailman_log_directory }}/hyperkitty.log',
|
||||
'formatter': 'verbose',
|
||||
},
|
||||
'null': {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue