1 2 3 4 5 6
#!/bin/sh java -jar /opt/snmpmapper.jar & echo "Sleeping for 30 seconds to get application ready" sleep 30s echo"invoking curl" curl -X GET http://localhost:8080