From 133a6ff7b35050a87ee4cfe3914c920b37019264 Mon Sep 17 00:00:00 2001 From: Grant Limberg <grant.limberg@zerotier.com> Date: Thu, 6 Jan 2022 14:55:20 -0800 Subject: [PATCH] fix env var --- ext/central-controller-docker/main.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/central-controller-docker/main.sh b/ext/central-controller-docker/main.sh index 84f14634b..2938ba11c 100755 --- a/ext/central-controller-docker/main.sh +++ b/ext/central-controller-docker/main.sh @@ -79,7 +79,7 @@ echo "{ } " > /var/lib/zerotier-one/local.conf -until /usr/pgsql-10/bin/pg_isready -h ${ZTC_DB_HOST} -p ${ZTC_DB_PORT}; do +until /usr/pgsql-10/bin/pg_isready -h ${ZT_DB_HOST} -p ${ZT_DB_PORT}; do echo "Waiting for PostgreSQL..."; sleep 2; done