Trying to modify run.sh so it waits for the Xvfb server to start accepting connections.
This commit is contained in:
parent
fd8a73ac37
commit
b702fdaf09
1 changed files with 1 additions and 1 deletions
2
run.sh
2
run.sh
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue