Trying to modify run.sh so it waits for the Xvfb server to start accepting connections.

This commit is contained in:
polar 2017-09-20 10:15:27 -04:00
parent fd8a73ac37
commit b702fdaf09

2
run.sh
View file

@ -12,7 +12,7 @@ while [ ${p} -lt 3000 ]
fi
done
if "${port}" != ""; then
if [ "${port}" != "" ]; then
echo "The display port will be ${port}."
start-stop-daemon --start --pidfile ~/xvfb.pid --make-pidfile --background \
--exec /usr/bin/Xvfb -- :${port} -screen 0 1024x768x24 \