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:
commit
31413fe631
|
@ -0,0 +1 @@
|
||||||
|
Fixed systemd unit for funkwhale-worker (#1160)
|
|
@ -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]
|
||||||
|
|
Loading…
Reference in New Issue