mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-11 04:07:48 +03:00
Refactor exec "$@" in django entrypoint.sh
This commit is contained in:
parent
4d3cdab2be
commit
9b938647b4
|
@ -5,8 +5,6 @@ set -o pipefail
|
|||
set -o nounset
|
||||
|
||||
|
||||
cmd="$@"
|
||||
|
||||
# N.B. If only .env files supported variable expansion...
|
||||
export CELERY_BROKER_URL="${REDIS_URL}"
|
||||
|
||||
|
@ -44,4 +42,4 @@ done
|
|||
|
||||
>&2 echo 'PostgreSQL is up - continuing...'
|
||||
|
||||
exec $cmd
|
||||
exec "$@"
|
||||
|
|
Loading…
Reference in New Issue
Block a user