From cb4e738a0f8be9191330c2e8a33553e39657b606 Mon Sep 17 00:00:00 2001 From: Chris Nagy Date: Sat, 10 Apr 2021 13:50:52 +0200 Subject: [PATCH] Fix env variable in docker entrypoint --- docker/docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/docker-entrypoint.sh b/docker/docker-entrypoint.sh index 95131699f..fe9618c25 100644 --- a/docker/docker-entrypoint.sh +++ b/docker/docker-entrypoint.sh @@ -56,7 +56,7 @@ superuser() { wait_for_postgres fi - if [[ ! -z "${PAPERLESS_ADMIN_PASSWORD}" ]] + if [[ ! -z "${PAPERLESS_ADMIN_USER}" ]] then sudo -HEu paperless python3 manage.py manage_superuser fi