fix env var

This commit is contained in:
Grant Limberg 2022-01-06 14:55:20 -08:00
parent f5096a1f26
commit 133a6ff7b3
No known key found for this signature in database
GPG Key ID: 2BA62CCABBB4095A

View File

@ -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