From bb131ef16ab3205a7da1210e7ca586c501f45dd9 Mon Sep 17 00:00:00 2001 From: MaxJa4 <74194322+MaxJa4@users.noreply.github.com> Date: Sun, 6 Feb 2022 19:12:52 +0100 Subject: [PATCH] Improved wording of log message upon retry --- boot.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boot.sh b/boot.sh index 6683fe26..795f1214 100644 --- a/boot.sh +++ b/boot.sh @@ -3,7 +3,7 @@ source venv/bin/activate echo "Updating database" while python manage.py migrate ; status=$? ; [ $status -eq 1 ]; do - echo "Migration failed due to database not being ready yet, retrying in 5 seconds..." + echo "Migration failed! Database may not be ready yet, retrying in 5 seconds..." sleep 5 done python manage.py collectstatic_js_reverse @@ -12,4 +12,4 @@ echo "Done" chmod -R 755 /opt/recipes/mediafiles -exec gunicorn -b :8080 --access-logfile - --error-logfile - --log-level INFO recipes.wsgi \ No newline at end of file +exec gunicorn -b :8080 --access-logfile - --error-logfile - --log-level INFO recipes.wsgi