explicitly set DJANGO_DEBUG env var on startup

This commit is contained in:
simon 2022-09-06 21:11:18 +07:00
parent 8f2794a141
commit 06795a014c
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4

View File

@ -5,6 +5,10 @@ if [[ -z "$ELASTIC_USER" ]]; then
export ELASTIC_USER=elastic
fi
if [[ -z "$DJANGO_DEBUG" ]]; then
export DJANGO_DEBUG=False
fi
cachedir=/cache
[[ -d $cachedir ]] || cachedir=.
lockfile=${cachedir}/initsu.lock