Refactor exec "$@" in django entrypoint.sh

This commit is contained in:
Nikita P. Shupeyko 2018-05-21 14:59:20 +03:00
parent 4d3cdab2be
commit 9b938647b4

View File

@ -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 "$@"