Mailman: fix deployment
This commit is contained in:
parent
b1b45cca9f
commit
a56d0f4af4
2 changed files with 8 additions and 1 deletions
|
@ -33,7 +33,7 @@ restorecon -r $BASEDIR/{bin,config,fulltext_index,static,templates}
|
||||||
|
|
||||||
# Run unit tests
|
# Run unit tests
|
||||||
echo "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
|
# Restart services
|
||||||
systemctl start httpd mailman3 crond
|
systemctl start httpd mailman3 crond
|
||||||
|
|
|
@ -45,3 +45,10 @@ HAYSTACK_CONNECTIONS = {
|
||||||
HAYSTACK_SIGNAL_PROCESSOR = 'haystack.signals.RealtimeSignalProcessor'
|
HAYSTACK_SIGNAL_PROCESSOR = 'haystack.signals.RealtimeSignalProcessor'
|
||||||
|
|
||||||
LOGGING = {}
|
LOGGING = {}
|
||||||
|
|
||||||
|
# Disable caching
|
||||||
|
CACHES = {
|
||||||
|
'default': {
|
||||||
|
'BACKEND': 'django.core.cache.backends.dummy.DummyCache',
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue