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