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