fixed bugs
This commit is contained in:
+1
-1
@@ -129,7 +129,7 @@ class Openvpn:
|
||||
self.status = RUNNING
|
||||
config_fp = self.generate_config_file()
|
||||
script_fp = self.generate_script()
|
||||
proxycfg_fp = self.generate_config_file()
|
||||
proxycfg_fp = self.generate_proxycfg()
|
||||
openvpn_cmd = " ".join(["openvpn", "--config", config_fp, "--route-noexec",
|
||||
"--route-up", script_fp, "--script-security",
|
||||
"2", "--mute-replay-warnings"]) # TODO: remove --mute-replay-warnings
|
||||
|
||||
@@ -22,7 +22,7 @@ class MainHandler(tornado.web.RequestHandler):
|
||||
for idx, op in enumerate(om.ops):
|
||||
buf += f"op #{idx}, name: {op.name} <br/>\n"
|
||||
buf += f"status: {op.status} <br/>\n"
|
||||
buf += f"pid: {op.PID} <br/>\n"
|
||||
buf += f"pid: {op.pids} <br/>\n"
|
||||
buf += "log: <br/>\n"
|
||||
buf += "<pre>\n"
|
||||
buf += op.get_log()
|
||||
|
||||
Reference in New Issue
Block a user