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
|
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.."
|
||||||
|
Loading…
Reference in New Issue
Block a user