21 lines
		
	
	
		
			505 B
		
	
	
	
		
			Desktop File
		
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			505 B
		
	
	
	
		
			Desktop File
		
	
	
	
[Unit]
 | 
						|
Description=Funkwhale celery worker
 | 
						|
After=redis.service postgresql.service
 | 
						|
PartOf=funkwhale.target
 | 
						|
 | 
						|
[Service]
 | 
						|
User=funkwhale
 | 
						|
# adapt this depending on the path of your funkwhale installation
 | 
						|
WorkingDirectory=/srv/funkwhale/api
 | 
						|
Environment="CELERYD_CONCURRENCY=0"
 | 
						|
EnvironmentFile=/srv/funkwhale/config/.env
 | 
						|
 | 
						|
ExecStart=/srv/funkwhale/venv/bin/celery \
 | 
						|
    --app funkwhale_api.taskapp \
 | 
						|
    worker \
 | 
						|
    --loglevel INFO \
 | 
						|
    --concurrency=${CELERYD_CONCURRENCY}
 | 
						|
 | 
						|
[Install]
 | 
						|
WantedBy=multi-user.target
 |