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
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.."