From f1a6767b45bf42397e3027adeef8f70668e62649 Mon Sep 17 00:00:00 2001 From: Stefan Pejcic Date: Mon, 19 Aug 2024 12:44:47 +0200 Subject: [PATCH] Update UPDATE.sh --- version/0.2.5/UPDATE.sh | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/version/0.2.5/UPDATE.sh b/version/0.2.5/UPDATE.sh index 9f2b4ce3..d3b7dfc0 100644 --- a/version/0.2.5/UPDATE.sh +++ b/version/0.2.5/UPDATE.sh @@ -54,7 +54,9 @@ do done - + start_certbot(){ + cd /root && docker compose up -d certbot + } # HELPERS @@ -127,8 +129,8 @@ FUNCTIONS=( docker_compose_up_with_newer_images # certbot start - cd /root && docker compose up -d certbot - + start_certbot + # delete temp files and (maybe) old panel versison cleanup @@ -399,9 +401,9 @@ download_new_admin() { echo "" cd /usr/local/admin/ #stash is used for demo - #git stash + git stash git pull - #git stash pop + git stash pop service admin restart } @@ -463,6 +465,12 @@ set_system_cronjob(){ } +start_certbot(){ + cd /root && docker compose up -d certbot +} + + + docker_compose_up_with_newer_images(){ echo "Restarting OpenPanel docker container.."