From a5a473975a92748500c438804a6c3d329eacf341 Mon Sep 17 00:00:00 2001 From: polar Date: Wed, 20 Sep 2017 13:13:59 -0400 Subject: [PATCH] Trying to modify run.sh so it waits for the Xvfb server to start accepting connections. --- run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.sh b/run.sh index a1ccd3b..79cb710 100755 --- a/run.sh +++ b/run.sh @@ -18,7 +18,7 @@ LOG "Starting Xvfb on ${DISPLAY}" LOG "Waiting for display at ${DISPLAY}." # Wait to be able to connect to the port. This will exit if it cannot in 15 minutes. -timeout ${timeout} bash -c "while ! xdpyinfo >/dev/null 2>&1; do sleep 0.5; done" +timeout ${timeout} bash -c "while ! xdpyinfo; do sleep 0.5; done" if [ $? -eq 0 ]; then LOG "Display ${DISPLAY} is up." LOG "Starting tileserver"