소스 검색

Remove stunnel daemon

Bob Mottram 7 년 전
부모
커밋
acd6db9a6c
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4
    0
      src/freedombone-app-vpn

+ 4
- 0
src/freedombone-app-vpn 파일 보기

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