Improved wording of log message upon retry
This commit is contained in:
parent
773d2eff37
commit
bb131ef16a
4
boot.sh
4
boot.sh
@ -3,7 +3,7 @@ source venv/bin/activate
|
|||||||
|
|
||||||
echo "Updating database"
|
echo "Updating database"
|
||||||
while python manage.py migrate ; status=$? ; [ $status -eq 1 ]; do
|
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
|
sleep 5
|
||||||
done
|
done
|
||||||
python manage.py collectstatic_js_reverse
|
python manage.py collectstatic_js_reverse
|
||||||
@ -12,4 +12,4 @@ echo "Done"
|
|||||||
|
|
||||||
chmod -R 755 /opt/recipes/mediafiles
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user