pms-docker/root/healthcheck.sh
2017-01-06 14:04:01 -06:00

8 lines
158 B
Bash
Executable File

#!/bin/sh -e
TARGET=localhost
CURL_OPTS="--connect-timeout 15 --silent --show-error --fail"
curl ${CURL_OPTS} "http://${TARGET}:32400/identity" >/dev/null