mirror of
https://github.com/ComputerScienceHouse/proxstar.git
synced 2025-03-09 15:40:09 +00:00
Add env var to specify websockify container port
This commit is contained in:
parent
6627457958
commit
aa3ea61188
2 changed files with 2 additions and 1 deletions
|
@ -16,7 +16,7 @@ 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')
|
||||
proxstar_port = app.config.get('WEBSOCKIFY_PORT')
|
||||
subprocess.call(
|
||||
[
|
||||
websockify_path,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue