mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Update UPDATE.sh
This commit is contained in:
parent
f8e157e3c3
commit
f1a6767b45
@ -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.."
|
||||
|
Loading…
Reference in New Issue
Block a user