From a3296361d6ddc4c67b484c4cd32f2160d75adbbe Mon Sep 17 00:00:00 2001 From: hael Date: Tue, 18 Mar 2025 00:00:38 +0100 Subject: [PATCH] stop vpn-proxy before start --- scripts/scheduler/install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/scheduler/install.sh b/scripts/scheduler/install.sh index 9be688b..7469cce 100755 --- a/scripts/scheduler/install.sh +++ b/scripts/scheduler/install.sh @@ -202,6 +202,7 @@ elif [ "$FIRST_INSTALL" == "vpn" ]; then edit_user_json $LETSENCRYPT_MAIL $LETSENCRYPT_SERVERNAME + $SERVICE_EXEC vpn-proxy stop force $SERVICE_EXEC vpn-proxy start echo "$INIT_SERVICE_PATH/vpn-proxy.json" >>$AUTO_START_SERVICES/.init_services echo "$INIT_SERVICE_PATH/firewall-vpn-smarthost-loadbalancer" >>$AUTO_START_SERVICES/.init_services