If launch.sh launched from a symbolic link, websockify fail to be released . Now he seeks also specified with the argument --web folder
This commit is contained in:
parent
f675e03ccc
commit
6468069e29
|
|
@ -102,7 +102,14 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Starting webserver and WebSockets proxy on port ${PORT}"
|
echo "Starting webserver and WebSockets proxy on port ${PORT}"
|
||||||
|
if [ -e "${HERE}/websockify" ]; then
|
||||||
${HERE}/websockify --web ${WEB} ${CERT:+--cert ${CERT}} ${PORT} ${VNC_DEST} &
|
${HERE}/websockify --web ${WEB} ${CERT:+--cert ${CERT}} ${PORT} ${VNC_DEST} &
|
||||||
|
elif [ -e "${WEB}/utils/websockify" ]; then
|
||||||
|
${WEB}/utils/websockify --web ${WEB} ${CERT:+--cert ${CERT}} ${PORT} ${VNC_DEST} &
|
||||||
|
else
|
||||||
|
echo "Warning: could not find websockify"
|
||||||
|
fi
|
||||||
|
|
||||||
proxy_pid="$!"
|
proxy_pid="$!"
|
||||||
sleep 1
|
sleep 1
|
||||||
if ! ps -p ${proxy_pid} >/dev/null; then
|
if ! ps -p ${proxy_pid} >/dev/null; then
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue