From 26e2727d48b47a3d7328f43fe5495d4bfee620c0 Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Thu, 24 Aug 2017 01:58:18 -0400 Subject: [docs] document restarts a bit better --- src/leap/bitmask/vpn/tunnel.py | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'src/leap/bitmask/vpn') diff --git a/src/leap/bitmask/vpn/tunnel.py b/src/leap/bitmask/vpn/tunnel.py index 7c2274a..7b53d9e 100644 --- a/src/leap/bitmask/vpn/tunnel.py +++ b/src/leap/bitmask/vpn/tunnel.py @@ -30,13 +30,10 @@ from .constants import IS_WIN from .process import VPNProcess -# TODO ----------------- refactor -------------------- -# [ ] catch ping-restart -# 'NETWORK_UNREACHABLE': ( -# 'Network is unreachable (code=101)',), -# 'PROCESS_RESTART_TLS': ( -# "SIGTERM[soft,tls-error]",), -# TODO ----------------- refactor -------------------- +# The restarts are not really needed, since we're configuring +# openvpn to restart itself after a period of inactivity. However, if the +# openvpn process is killed by whatever reason, # we'll automatically try to +# restart the process. RESTART_WAIT = 2 # in secs -- cgit v1.2.3