From 227be3aaf18d9382716dc92a71aeeeee94e96945 Mon Sep 17 00:00:00 2001 From: Stefan Pejcic Date: Thu, 15 Aug 2024 15:42:17 +0200 Subject: [PATCH] Update UPDATE.sh --- version/0.2.5/UPDATE.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/version/0.2.5/UPDATE.sh b/version/0.2.5/UPDATE.sh index 63e1bf8a..e8181494 100644 --- a/version/0.2.5/UPDATE.sh +++ b/version/0.2.5/UPDATE.sh @@ -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"