wait-up
v0.0.2-1
Published
get / exit on-up
Downloads
3
Maintainers
Readme
wait-up
Waits for http servers to come up with a preferably 200
ok status.
Thanks to on-up
.
Use by Example
- $
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
.