cleans up comments
This commit is contained in:
@@ -40,10 +40,8 @@ PING_MYSQL="mysqladmin \
|
|||||||
--user=${DB_USER} \
|
--user=${DB_USER} \
|
||||||
--password=${DB_USER_PASSWORD} \
|
--password=${DB_USER_PASSWORD} \
|
||||||
--silent"
|
--silent"
|
||||||
# weird [: mysqld: unexpected operator when using COMMAND
|
# weird [: mysqld: unexpected operator when using PING_MYSQL but it works
|
||||||
#while ! docker exec ${DOCKER_PREFIX}-web /bin/sh -c "mysqladmin ping -h ${DOCKER_PREFIX}-db -P 3306 --protocol=tcp -u user -puser --silent"
|
|
||||||
while [ ! $(docker exec ${DOCKER_PREFIX}-web /bin/sh -c "${PING_MYSQL}") ]
|
while [ ! $(docker exec ${DOCKER_PREFIX}-web /bin/sh -c "${PING_MYSQL}") ]
|
||||||
#while [ ! $(${COMMAND}) ]
|
|
||||||
do
|
do
|
||||||
echo Waiting for ${DOCKER_PREFIX}-db to accept connections…
|
echo Waiting for ${DOCKER_PREFIX}-db to accept connections…
|
||||||
sleep 1
|
sleep 1
|
||||||
|
|||||||
Reference in New Issue
Block a user