From 1b4bf3eac32403acbc0bbc78ac09b52b960b7379 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bompard?= Date: Thu, 3 Aug 2017 15:33:44 +0000 Subject: [PATCH] Dont restart mailman when the webui is updated --- roles/mailman/files/post-update.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/mailman/files/post-update.sh b/roles/mailman/files/post-update.sh index c8ab94e51e..de119a7fa1 100755 --- a/roles/mailman/files/post-update.sh +++ b/roles/mailman/files/post-update.sh @@ -13,7 +13,7 @@ INDEXDIR=$BASEDIR/fulltext_index sleep $[ ( $RANDOM % 10 ) + 1 ]s # avoid simultaneous lockups on parallel servers. Yes, this is dirty. echo "Stop services" -systemctl stop webui-qcluster crond mailman3 httpd +systemctl stop webui-qcluster crond httpd echo "static files" django-admin collectstatic --clear --noinput --verbosity 0 --pythonpath $CONFDIR --settings settings @@ -40,4 +40,4 @@ django-admin test --pythonpath $CONFDIR --settings settings_test django_mailman3 # Restart services echo "Start services" -systemctl start httpd mailman3 crond webui-qcluster +systemctl start httpd crond webui-qcluster