core179: Restart OpenVPN services during the update

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2023-08-16 15:02:48 +00:00
parent c7e223e592
commit 959497f90f

View File

@@ -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