Correctly set default value in systemd unit

environments/review-front-1108-r6wo61/deployments/6780
Virgile Robles 2021-04-13 22:32:15 +02:00
rodzic 1492e252ea
commit d3fdce07e9
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -7,8 +7,9 @@ PartOf=funkwhale.target
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/virtualenv/bin/celery -A funkwhale_api.taskapp worker -l INFO --concurrency=${CELERYD_CONCURRENCY-0}
ExecStart=/srv/funkwhale/virtualenv/bin/celery -A funkwhale_api.taskapp worker -l INFO --concurrency=${CELERYD_CONCURRENCY}
[Install]