Mailman: fix deployment

This commit is contained in:
Aurélien Bompard 2017-02-02 09:30:02 +00:00
parent b1b45cca9f
commit a56d0f4af4
2 changed files with 8 additions and 1 deletions

View file

@ -33,7 +33,7 @@ restorecon -r $BASEDIR/{bin,config,fulltext_index,static,templates}
# Run unit tests
echo "unit tests"
django-admin test --pythonpath $CONFDIR --settings settings_test hyperkitty postorius django_mailman3
django-admin test --pythonpath $CONFDIR --settings settings_test hyperkitty postorius
# Restart services
systemctl start httpd mailman3 crond

View file

@ -45,3 +45,10 @@ HAYSTACK_CONNECTIONS = {
HAYSTACK_SIGNAL_PROCESSOR = 'haystack.signals.RealtimeSignalProcessor'
LOGGING = {}
# Disable caching
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.dummy.DummyCache',
}
}