Skip to content

Commit fee9f6d

Browse files
committed
Update docker-entrypoint.sh
1 parent aaac96d commit fee9f6d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docker-entrypoint.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ sed -ie "s/single/errorlog/g" config/app.php
8686
fi
8787
fi
8888

89-
echoerr wait-for-db: waiting for ${DB_HOST_NAME}:${DB_PORT}
89+
echoerr "wait-for-db: waiting for ${DB_HOST_NAME}:${DB_PORT}"
9090

9191
timeout 15 bash <<EOT
9292
while ! (echo > /dev/tcp/${DB_HOST_NAME}/${DB_PORT}) >/dev/null 2>&1;
@@ -98,9 +98,9 @@ RESULT=$?
9898
if [ $RESULT -eq 0 ]; then
9999
# sleep another second for so that we don't get a "the database system is starting up" error
100100
sleep 1
101-
echoerr wait-for-db: done
101+
echoerr "wait-for-db: done"
102102
else
103-
echoerr wait-for-db: timeout out after 15 seconds waiting for ${DB_HOST_NAME}:${DB_PORT}
103+
echoerr "wait-for-db: timeout out after 15 seconds waiting for ${DB_HOST_NAME}:${DB_PORT}"
104104
fi
105105

106106
composer install

0 commit comments

Comments
 (0)