healthcheck 103 Bytes
Newer Older
1
#!/bin/sh
2
curl -s -o /dev/null -I -w '%{http_code}' http://localhost | grep -Eq '^2[0-9]{2}' || exit 1