Added client setup check to start_server.sh

This commit is contained in:
Jack Kawell
2021-12-09 00:20:10 -07:00
parent 18d797150e
commit ecd717702d
2 changed files with 12 additions and 6 deletions

View File

@@ -37,7 +37,13 @@ else
echo "Server already initialized"
fi
# check to make sure the setup has completed
while [ ! -f "/client/extracted" ] || [ ! -f "/client/migrated" ]; do
echo "Client setup not finished. Waiting for setup container to complete..."
sleep 5
done
# start the server
echo "Start MasterServer"
echo "Starting MasterServer"
./MasterServer
tail -f /dev/null