start websockify once with gunicorn config

This commit is contained in:
Jordan Rodgers 2018-02-12 21:48:00 -05:00
parent 3b1740c641
commit 8e48bb1c95
3 changed files with 30 additions and 3 deletions

View file

@ -33,9 +33,6 @@ app.config["GIT_REVISION"] = subprocess.check_output(
with open('proxmox_ssh_key', 'w') as key:
key.write(app.config['PROXMOX_SSH_KEY'])
start_websockify(app.config['WEBSOCKIFY_PATH'],
app.config['WEBSOCKIFY_TARGET_FILE'])
ssh_tunnels = []
retry = 0