Last active
August 8, 2019 17:15
-
-
Save sandipchitale/8ca16cab96f8055c68f54adc61e84d80 to your computer and use it in GitHub Desktop.
Check service
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
until nc -w 3 -z xdb 2014 ; do echo Waiting; sleep 5 ; done | |
wget -T 1 -O/dev/null -q http://localhost:8080/health > /dev/null 2>&1 ; echo $? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment