From 737c9f9367c14f4562e389d0112af9791afe9762 Mon Sep 17 00:00:00 2001 From: Will Nilges Date: Wed, 31 Aug 2022 20:20:21 -0400 Subject: [PATCH] Fix broken VNC on dev environment I made an "oopsie" and hardcoded the port, so now that's configurable, and also fixed my local .env file. I should update the README --- gunicorn.conf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gunicorn.conf.py b/gunicorn.conf.py index 64a7d4e..1c7d049 100644 --- a/gunicorn.conf.py +++ b/gunicorn.conf.py @@ -16,10 +16,11 @@ def start_websockify(websockify_path, target_file): result = subprocess.run(['pgrep', 'websockify'], stdout=subprocess.PIPE) if not result.stdout: print("Websockify is stopped. Starting websockify.") + proxstar_port = app.config.get('VNC_PORT') subprocess.call( [ websockify_path, - '8081', + proxstar_port, '--token-plugin', 'TokenFile', '--token-source',