From 5d3ecffa5a762fc765069c3afe31cae12dd5de19 Mon Sep 17 00:00:00 2001 From: Abhilash Raj Date: Sun, 1 Oct 2017 15:38:07 -0700 Subject: [PATCH] Update the example.com name and domain both. Fixes #122 --- web/docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/docker-entrypoint.sh b/web/docker-entrypoint.sh index 25a2c57..3e26b85 100755 --- a/web/docker-entrypoint.sh +++ b/web/docker-entrypoint.sh @@ -127,7 +127,7 @@ if [[ -v SERVE_FROM_DOMAIN ]]; then echo "Setting $SERVE_FROM_DOMAIN as the default domain ..." python manage.py shell -c \ - "from django.contrib.sites.models import Site; Site.objects.filter(domain='example.com').update(domain='$SERVE_FROM_DOMAIN')" + "from django.contrib.sites.models import Site; Site.objects.filter(domain='example.com').update(domain='$SERVE_FROM_DOMAIN', name='$SERVE_FROM_DOMAIN')" fi # Create a mailman user with the specific UID and GID and do not create home