From 959497f90f6b76df1593e7ba609045bfa1f57104 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 16 Aug 2023 15:02:48 +0000 Subject: [PATCH] core179: Restart OpenVPN services during the update Signed-off-by: Michael Tremer --- config/rootfiles/core/179/update.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/rootfiles/core/179/update.sh b/config/rootfiles/core/179/update.sh index 110335d138..a42e095945 100644 --- a/config/rootfiles/core/179/update.sh +++ b/config/rootfiles/core/179/update.sh @@ -50,6 +50,8 @@ for (( i=1; i<=$core; i++ )); do done # Stop services +/usr/local/bin/openvpnctrl -k +/usr/local/bin/openvpnctrl -kn2n # Extract files extract_files @@ -85,6 +87,8 @@ migrate_extrahd # Start services /etc/init.d/udev restart /etc/init.d/squid restart +/usr/local/bin/openvpnctrl -s +/usr/local/bin/openvpnctrl -sn2n # This update needs a reboot... #touch /var/run/need_reboot -- 2.47.3