Skip to content

BillionMail gives you open-source MailServer, NewsLetter, Email Marketing — fully self-hosted, dev-friendly, and free from monthly fees. Join the discord: https://discord.gg/asfXzBUhZr

Update update.sh

aapanel.com782f9056743c
diff --git a/update.sh b/update.sh
index c160d797..4f1854e6 100644
--- a/update.sh
+++ b/update.sh
@@ -206,11 +206,6 @@ Update_BillionMail(){
exit 1
fi
fi
-
- echo -e "Stop BillionMail, please wait..."
- sleep 3
- ${DOCKER_COMPOSE} down
-
echo -e "\033[34m🚀 Committing current changes...\033[0m"
# Set user.name and user.email if they are not set
@@ -264,6 +259,10 @@ Update_BillionMail(){
Red_Error "docker-compose.yml not found."
fi
+ echo -e "Stop BillionMail, please wait..."
+ sleep 3
+ ${DOCKER_COMPOSE} down
+
echo -e "Getting the latest image, please wait..."
${DOCKER_COMPOSE} pull