mirror of
https://github.com/helfrichmichael/prusaslicer-novnc.git
synced 2024-08-30 18:32:27 +00:00
fix: few more vars
Signed-off-by: vajonam <152501+vajonam@users.noreply.github.com>
This commit is contained in:
parent
e0cf9a4818
commit
6653680cd7
@ -16,5 +16,6 @@ fi
|
|||||||
# echo "NoVNC server started on port $NOVNC_PORT"
|
# echo "NoVNC server started on port $NOVNC_PORT"
|
||||||
# EXEC=$@
|
# EXEC=$@
|
||||||
# exec "$@"
|
# exec "$@"
|
||||||
|
export LOCALFBPORT=$((5900 + DISPLAY_NUMBER))
|
||||||
export VGLRUN=vglrun
|
export VGLRUN=vglrun
|
||||||
chown -R slic3r:slic3r /home/slic3r/ /configs/ /prints/ /dev/stdout && exec gosu slic3r supervisord # -e TRACE
|
chown -R slic3r:slic3r /home/slic3r/ /configs/ /prints/ /dev/stdout && exec gosu slic3r supervisord # -e TRACE
|
||||||
|
@ -10,7 +10,7 @@ redirect_stderr=true
|
|||||||
|
|
||||||
[program:novnc]
|
[program:novnc]
|
||||||
priority=0
|
priority=0
|
||||||
command=websockify --web=/usr/share/novnc/ %(ENV_NOVNC_PORT)s localhost:5901
|
command=websockify --web=/usr/share/novnc/ %(ENV_NOVNC_PORT)s localhost:%(ENV_LOCALFBPORT)s
|
||||||
autorestart=true
|
autorestart=true
|
||||||
redirect_stderr=true
|
redirect_stderr=true
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user