#!/usr/bin/env sh set -e URL=http://127.0.0.1:8080/alive wget --quiet --tries=1 --spider ${URL} [ $? -ne 0 ] && exit 1 exit 0