Update UPDATE.sh

This commit is contained in:
Stefan Pejcic 2024-08-15 15:42:17 +02:00 committed by GitHub
parent df9af405fe
commit 227be3aaf1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -110,6 +110,9 @@ FUNCTIONS=(
# logrotate added in 025
set_logrotate
# file watcher removed in 025
uninstall_watcher_service
# openpanel/openpanel should be downloaded now!
docker_compose_up_with_newer_images
@ -344,6 +347,20 @@ download_new_admin() {
}
uninstall_watcher_service(){
systemctl stop watcher.service
systemctl disable watcher.service
service watcher stop
service watcher disable
rm -rf /usr/local/admin/scripts/watcher
rm /etc/systemd/system/watcher.service
systemctl daemon-reload
}
update_config_files() {
echo "Downloading latest OpenPanel configuration from https://github.com/stefanpejcic/openpanel-configuration"