parent
45f621f9af
commit
32d38bc005
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ host="$1"
|
||||||
# This is done for `exec "$@"` below to work correctly
|
# This is done for `exec "$@"` below to work correctly
|
||||||
shift
|
shift
|
||||||
|
|
||||||
until [ "200" == $(curl -s -o /dev/null --head -w "%{http_code}" https://${host}/_matrix/client/versions) ]; do
|
until [ "200" -eq $(curl -s -o /dev/null --head -w "%{http_code}" https://${host}/_matrix/client/versions) ]; do
|
||||||
>&2 echo "synapse is unavailable - sleeping"
|
>&2 echo "synapse is unavailable - sleeping"
|
||||||
sleep 3
|
sleep 3
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue