adjust vpn config, adjust retry config

This commit is contained in:
2024-09-12 19:59:25 -05:00
parent 5b0c2c9038
commit 00d63eebd6
3 changed files with 5 additions and 10 deletions

View File

@@ -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