From: Michael Tremer Date: Wed, 16 Aug 2023 15:02:48 +0000 (+0000) Subject: core179: Restart OpenVPN services during the update X-Git-Tag: v2.27-core179~9^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=959497f90f6b76df1593e7ba609045bfa1f57104;p=ipfire-2.x.git core179: Restart OpenVPN services during the update Signed-off-by: Michael Tremer --- 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