adjust vpn config, adjust retry config
This commit is contained in:
@@ -17,8 +17,7 @@ def establish_vpn_connection(ovpn_file, credential_file, log_file, debug_print=N
|
||||
|
||||
# Establish VPN connection (capture stdout and stderr)
|
||||
openvpn_command = ["/usr/sbin/openvpn", "--config", ovpn_file,
|
||||
"--auth-user-pass", credential_file,
|
||||
"--verb", "1"]
|
||||
"--auth-user-pass", credential_file, "--verb", "1"]
|
||||
|
||||
if debug_print:
|
||||
debug_print(f"OpenVPN command: {' '.join(openvpn_command)}") # Debug print
|
||||
|
||||
Reference in New Issue
Block a user