mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 03:16:10 -06:00 
			
		
		
		
	Fixes flower not respecting its config location, and a little more info to the user
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user