Commit 41cd097f authored by Laurent Peuch's avatar Laurent Peuch

[mod] openvpn is sloooowwww to start, let's wait

parent d4f67813
......@@ -64,6 +64,7 @@ def from_cube():
print("Critical part 2: restart openvpn '%s'" % restart_command)
except Exception:
print("ERROR: command failed, displaying logs")
print("\n".join(open("/var/log/openvpn.log", "r").split("\n")[-200:]))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment