mirror of
https://github.com/ComputerScienceHouse/proxstar.git
synced 2025-03-09 15:40:09 +00:00
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
This commit is contained in:
parent
4f7655ca6b
commit
737c9f9367
1 changed files with 2 additions and 1 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue