novnc/novnc-0.3-call-websockify.patch

26 lines
727 B
Diff

From 9abeb6faf34c6413398559a203f82e1de459191c Mon Sep 17 00:00:00 2001
From: Adam Young <ayoung@redhat.com>
Date: Fri, 8 Jun 2012 11:10:45 -0400
Subject: [PATCH] call the websockify executable.
---
utils/launch.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/utils/launch.sh b/utils/launch.sh
index 8afd6e4..baaa472 100755
--- a/utils/launch.sh
+++ b/utils/launch.sh
@@ -92,7 +92,7 @@ else
fi
echo "Starting webserver and WebSockets proxy on port ${PORT}"
-${HERE}/wsproxy.py --web ${WEB} ${CERT:+--cert ${CERT}} ${PORT} ${VNC_DEST} &
+${HERE}/websockify --web ${WEB} ${CERT:+--cert ${CERT}} ${PORT} ${VNC_DEST} &
proxy_pid="$!"
sleep 1
if ! ps -p ${proxy_pid} >/dev/null; then
--
1.7.10.2