From 2065baac1fc52f652dbbc712d4bcf2c6698d1409 Mon Sep 17 00:00:00 2001 From: mahdavi Date: Thu, 15 Sep 2022 17:39:29 +0430 Subject: [PATCH] cleanup --- run.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/run.sh b/run.sh index dc0f4fc..98536f8 100755 --- a/run.sh +++ b/run.sh @@ -1,8 +1,8 @@ #!/usr/bin/env bash -#while ! nc -z $DB_HOST 3306 ; do -# echo "Waiting for the MySQL Server" -# sleep 3 -#done +while ! nc -z $DB_HOST 3306 ; do + echo "Waiting for the MySQL Server" + sleep 3 +done #python3 manage.py collectstatic python3 manage.py migrate