echo"Creating /etc/pretix/pretix.cfg from environment" >&2
missing=""
for i in PRETIX_INSTANCE_NAME PRETIX_URL DATABASE_BACKEND DATABASE_NAME DATABASE_USER DATABASE_PASSWORD DATABASE_HOST MAIL_FROM MAIL_HOST REDIS_LOCATION CELERY_BACKEND CELERY_BROKER;do
ifeval"[ -z \"\${$i}\" ]";then
missing="${missing}$i"
fi
done
if[ -n "${missing}"];then
echo"You need to set these environment variables to configure Pretix:$missing" >&2