14 lines
		
	
	
		
			300 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			300 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
#!/bin/sh
 | 
						|
 | 
						|
set -eux
 | 
						|
 | 
						|
funkwhale-manage collectstatic --noinput
 | 
						|
funkwhale-manage migrate
 | 
						|
 | 
						|
# shellcheck disable=SC2086
 | 
						|
exec gunicorn config.asgi:application \
 | 
						|
    --workers "${FUNKWHALE_WEB_WORKERS-1}" \
 | 
						|
    --worker-class uvicorn.workers.UvicornWorker \
 | 
						|
    --bind 0.0.0.0:5000 \
 | 
						|
    ${GUNICORN_ARGS-}
 |