From acd6db9a6ced8c419c1c067a6869b7b1aa2a9d10 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 26 Sep 2017 23:44:43 +0100 Subject: [PATCH] Remove stunnel daemon --- src/freedombone-app-vpn | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/freedombone-app-vpn b/src/freedombone-app-vpn index e2638400..77958db2 100755 --- a/src/freedombone-app-vpn +++ b/src/freedombone-app-vpn @@ -253,6 +253,10 @@ function restore_remote_vpn { } function remove_vpn { + systemctl stop stunnel + systemctl disable stunnel + rm /etc/systemd/system/stunnel.service + systemctl stop openvpn if [ $VPN_TLS_PORT -ne 443 ]; then firewall_remove VPN-TLS $VPN_TLS_PORT