mirror of
https://github.com/Hopiu/cookiecutter-django.git
synced 2026-05-09 21:24:43 +00:00
Alter django entrypoint.sh output
This commit is contained in:
parent
9b938647b4
commit
90953a83f2
1 changed files with 2 additions and 4 deletions
|
|
@ -34,12 +34,10 @@ sys.exit(0)
|
|||
|
||||
END
|
||||
}
|
||||
|
||||
until postgres_ready; do
|
||||
>&2 echo 'PostgreSQL is unavailable (sleeping)...'
|
||||
>&2 echo 'Waiting for PostgreSQL to become available...'
|
||||
sleep 1
|
||||
done
|
||||
|
||||
>&2 echo 'PostgreSQL is up - continuing...'
|
||||
>&2 echo 'PostgreSQL is available'
|
||||
|
||||
exec "$@"
|
||||
|
|
|
|||
Loading…
Reference in a new issue