浏览代码

Remove stunnel daemon

Bob Mottram 7 年前
父节点
当前提交
acd6db9a6c
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4
    0
      src/freedombone-app-vpn

+ 4
- 0
src/freedombone-app-vpn 查看文件

253
 }
253
 }
254
 
254
 
255
 function remove_vpn {
255
 function remove_vpn {
256
+    systemctl stop stunnel
257
+    systemctl disable stunnel
258
+    rm /etc/systemd/system/stunnel.service
259
+
256
     systemctl stop openvpn
260
     systemctl stop openvpn
257
     if [ $VPN_TLS_PORT -ne 443 ]; then
261
     if [ $VPN_TLS_PORT -ne 443 ]; then
258
         firewall_remove VPN-TLS $VPN_TLS_PORT
262
         firewall_remove VPN-TLS $VPN_TLS_PORT