From: Trenton H <797416+stumpylog@users.noreply.github.com> Date: Fri, 3 Feb 2023 22:19:22 +0000 (-0800) Subject: Fixes flower not respecting its config location, and a little more info to the user X-Git-Tag: v1.13.0~1^2~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9f0418038c8a10bf3fc63af4c4351a682207ae7;p=thirdparty%2Fpaperless-ngx.git Fixes flower not respecting its config location, and a little more info to the user --- diff --git a/docker/flower-conditional.sh b/docker/flower-conditional.sh index 04319a8e3a..f8719e0fdb 100644 --- a/docker/flower-conditional.sh +++ b/docker/flower-conditional.sh @@ -3,5 +3,10 @@ echo "Checking if we should start flower..." if [[ -n "${PAPERLESS_ENABLE_FLOWER}" ]]; then - celery --app paperless flower + # Small delay to allow celery to be up first + echo "Starting flower in 5s" + sleep 5 + celery --app paperless flower --conf=/usr/src/paperless/src/paperless/flowerconfig.py +else + echo "Not starting flower" fi