Merge branch '1160-systemd-fix' into 'develop'

Resolve "funkwhale-worker.service error option --concurrency"

Closes #1160

See merge request funkwhale/funkwhale!1296
This commit is contained in:
Georg Krause 2021-04-24 13:10:55 +00:00
commit 31413fe631
2 changed files with 3 additions and 1 deletions

View File

@ -0,0 +1 @@
Fixed systemd unit for funkwhale-worker (#1160)

View File

@ -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]