1
0
mirror of https://github.com/NginxProxyManager/nginx-proxy-manager.git synced 2025-04-28 17:47:46 +03:00
2024-05-09 08:54:59 +10:00

8 lines
195 B
Bash
Executable File

#!/usr/bin/env bash
set -euf -o pipefail
HEALTHY="$(curl --silent "http://127.0.0.1:3000/api" | jq --raw-output '.result.healthy')"
echo "Healthy: ${HEALTHY}"
[ "$HEALTHY" = 'true' ] || exit 1