Waits for http servers to come up with a preferably 200
ok status.
Thanks to on-up
.
- $
wait-up
will try / wait to gethttp://localhost
- $
wait-up http://127.0.0.1:8080/location
- takes a provided uri - $
wait-up /another/location
withhttp://localhost
assumed byon-up
The script will exit with statuscode 0
,
only if a 200
response status code was got.
Otherwise it will be an error - 1
.