fix: few more vars

Signed-off-by: vajonam <152501+vajonam@users.noreply.github.com>
This commit is contained in:
vajonam 2024-04-03 09:30:59 -04:00
parent e0cf9a4818
commit 6653680cd7
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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