diff --git a/entrypoint.sh b/entrypoint.sh index 2ec1bfe..7aed913 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,7 +1,7 @@ #!/usr/bin/env sh echo "Waiting for NATS" -while ! echo exit | nc postgres 4222; do sleep 1; done +while ! echo exit | nc nats 4222; do sleep 1; done echo "Starting monit" /go/bin/monit