Commit 11f9f946 authored by Laurent Peuch's avatar Laurent Peuch


parent 5de91674
......@@ -50,6 +50,8 @@ def from_cube():
with debug("Running command '%s'" % command.replace(password, "xxxxxxxxxxxxxxxxxxxxx")):
assert os.system(command) == 0, "ERROR: command failed"
print("Critical part: reloading vpn using '%s'" % command)
subprocess.check_output("sudo systemctl restart ynh-vpnclient".split())
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