mirror of
https://github.com/fcwu/docker-ubuntu-vnc-desktop
synced 2025-12-06 08:22:31 +01:00
Enable dynamic prefix path handling
This commit is contained in:
parent
328e8f1aa1
commit
1d5e9f6dca
1 changed files with 8 additions and 8 deletions
|
|
@ -67,13 +67,13 @@ chmod +x "/usr/local/lib/web/frontend$PREFIX_PATH/static/websockify/run"
|
|||
PASSWORD=
|
||||
HTTP_PASSWORD=
|
||||
|
||||
# dynamic prefix path renaming
|
||||
# if [ -n "$DYNAMIC_PREFIX_PATH" ]; then
|
||||
# PREFIX_PATH="$DYNAMIC_PREFIX_PATH"
|
||||
# echo "DYNAMIC_PREFIX_PATH: $PREFIX_PATH"
|
||||
# python /etc/RenameURL.py
|
||||
# /etc/install.sh
|
||||
# cat /etc/nginx/sites-enabled/default
|
||||
# fi
|
||||
dynamic prefix path renaming
|
||||
if [ -n "$DYNAMIC_PREFIX_PATH" ]; then
|
||||
PREFIX_PATH="$DYNAMIC_PREFIX_PATH"
|
||||
echo "DYNAMIC_PREFIX_PATH: $PREFIX_PATH"
|
||||
python /etc/RenameURL.py
|
||||
/etc/install.sh
|
||||
cat /etc/nginx/sites-enabled/default
|
||||
fi
|
||||
|
||||
exec /bin/tini -- /usr/bin/supervisord -n -c /etc/supervisor/supervisord.conf
|
||||
|
|
|
|||
Loading…
Reference in a new issue