mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-19 04:57:53 +00:00
add wait for docker in controller startup script
This commit is contained in:
parent
73878fbdc4
commit
f5096a1f26
@ -79,6 +79,11 @@ echo "{
|
|||||||
}
|
}
|
||||||
" > /var/lib/zerotier-one/local.conf
|
" > /var/lib/zerotier-one/local.conf
|
||||||
|
|
||||||
|
until /usr/pgsql-10/bin/pg_isready -h ${ZTC_DB_HOST} -p ${ZTC_DB_PORT}; do
|
||||||
|
echo "Waiting for PostgreSQL...";
|
||||||
|
sleep 2;
|
||||||
|
done
|
||||||
|
|
||||||
export GLIBCXX_FORCE_NEW=1
|
export GLIBCXX_FORCE_NEW=1
|
||||||
export GLIBCPP_FORCE_NEW=1
|
export GLIBCPP_FORCE_NEW=1
|
||||||
export LD_PRELOAD="/usr/lib64/libjemalloc.so"
|
export LD_PRELOAD="/usr/lib64/libjemalloc.so"
|
||||||
|
Loading…
Reference in New Issue
Block a user