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.combde04439b6c6
diff --git a/update.sh b/update.sh
index fa661072..824c16ae 100644
--- a/update.sh
+++ b/update.sh
@@ -261,12 +261,17 @@ Update_BillionMail(){
ls -al
Red_Error "docker-compose.yml not found."
fi
-
+
echo -e "Getting the latest image, please wait..."
${DOCKER_COMPOSE} pull
echo -e "Starting Billion Mail, please wait..."
${DOCKER_COMPOSE} up -d
+ if [ $? -eq 0 ]; then
+ echo -e "\033[33m✅ Started successfully, update completed.\033[0m"
+ else
+ echo -e "\033[33m⚠️ Update completed, please check container status. If startup failed, check container logs.\033[0m"
+ fi
}