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
df9af405fe
commit
227be3aaf1
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user