kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
Correctly set default value in systemd unit
rodzic
1492e252ea
commit
d3fdce07e9
|
@ -7,8 +7,9 @@ PartOf=funkwhale.target
|
||||||
User=funkwhale
|
User=funkwhale
|
||||||
# adapt this depending on the path of your funkwhale installation
|
# adapt this depending on the path of your funkwhale installation
|
||||||
WorkingDirectory=/srv/funkwhale/api
|
WorkingDirectory=/srv/funkwhale/api
|
||||||
|
Environment="CELERYD_CONCURRENCY=0"
|
||||||
EnvironmentFile=/srv/funkwhale/config/.env
|
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]
|
[Install]
|
||||||
|
|
Ładowanie…
Reference in New Issue