Files
zurg/healthcheck.sh
Ben Sarmiento 6dd17353cd Fix healthcheck
2023-12-02 22:21:55 +01:00

8 lines
147 B
Bash

#!/bin/sh
response=$(curl -o /dev/null -s -w "%{http_code}" http://localhost:9999/)
if [ "$response" -eq 200 ]; then
exit 0
else
exit 1
fi