#!/bin/sh # Container-side health probe for the Ten31 Database service. # The StartOS 0.4 daemon uses checkPortListening at the platform # level, but this script is kept for parity with the 0.3.5 wrapper # and so the same image can be exec'd directly for diagnostics. set -eu PORT="${CRM_PORT:-8080}" curl -fsS "http://127.0.0.1:${PORT}/api/health" >/dev/null