mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-16 03:56:54 +02:00
add wait for docker in controller startup script
This commit is contained in:
parent
73878fbdc4
commit
f5096a1f26
1 changed files with 5 additions and 0 deletions
|
@ -79,6 +79,11 @@ echo "{
|
|||
}
|
||||
" > /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 GLIBCPP_FORCE_NEW=1
|
||||
export LD_PRELOAD="/usr/lib64/libjemalloc.so"
|
||||
|
|
Loading…
Add table
Reference in a new issue