funkwhale/deploy/funkwhale-worker.service

17 wiersze
483 B
INI
Czysty Zwykły widok Historia

2017-07-17 20:00:32 +00:00
[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"
2017-07-17 20:00:32 +00:00
EnvironmentFile=/srv/funkwhale/config/.env
2022-01-22 18:36:37 +00:00
ExecStart=/srv/funkwhale/.local/bin/poetry run celery -A funkwhale_api.taskapp worker -l INFO --concurrency=${CELERYD_CONCURRENCY}
2017-07-17 20:00:32 +00:00
[Install]
WantedBy=multi-user.target