Skip to content
Snippets Groups Projects
Commit 0e2a9565 authored by Bob Mottram's avatar Bob Mottram
Browse files

Restart nginx if needed after vpn removal

parent acd6db9a
No related branches found
No related tags found
No related merge requests found
......@@ -260,6 +260,9 @@ function remove_vpn {
systemctl stop openvpn
if [ $VPN_TLS_PORT -ne 443 ]; then
firewall_remove VPN-TLS $VPN_TLS_PORT
else
systemctl enable nginx
systemctl restart nginx
fi
apt-get -yq remove --purge fastd openvpn easy-rsa
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment