Improved wording of log message upon retry

This commit is contained in:
MaxJa4 2022-02-06 19:12:52 +01:00 committed by GitHub
parent 773d2eff37
commit bb131ef16a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
exec gunicorn -b :8080 --access-logfile - --error-logfile - --log-level INFO recipes.wsgi