This commit is contained in:
root
2017-04-18 21:08:01 +02:00
2 changed files with 2 additions and 1 deletions

View File

@@ -32,4 +32,4 @@ def cm(cmd):
c=cmds[cmd] c=cmds[cmd]
return run_cmd(c) return run_cmd(c)
else: else:
return render_template("index.html", out="Command not found"), 404 return render_template("index.html", out="Command not found",keys=keys, title=cfg.title.decode("utf8")), 404

View File

@@ -2,3 +2,4 @@ restart: ["supervisorctl", "restart", "management"]
status:["supervisorctl", "status"] status:["supervisorctl", "status"]
ls: ["ls", "-lha"] ls: ["ls", "-lha"]
upd: ["./update_mgm", ""] upd: ["./update_mgm", ""]