Update UPDATE.sh

This commit is contained in:
Stefan Pejcic 2024-08-19 12:44:47 +02:00 committed by GitHub
parent f8e157e3c3
commit f1a6767b45
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -54,7 +54,9 @@ do
done done
start_certbot(){
cd /root && docker compose up -d certbot
}
# HELPERS # HELPERS
@ -127,7 +129,7 @@ FUNCTIONS=(
docker_compose_up_with_newer_images docker_compose_up_with_newer_images
# certbot start # certbot start
cd /root && docker compose up -d certbot start_certbot
# delete temp files and (maybe) old panel versison # delete temp files and (maybe) old panel versison
cleanup cleanup
@ -399,9 +401,9 @@ download_new_admin() {
echo "" echo ""
cd /usr/local/admin/ cd /usr/local/admin/
#stash is used for demo #stash is used for demo
#git stash git stash
git pull git pull
#git stash pop git stash pop
service admin restart 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(){ docker_compose_up_with_newer_images(){
echo "Restarting OpenPanel docker container.." echo "Restarting OpenPanel docker container.."