2018-10-19 23:28:40 +02:00
|
|
|
# Name of nodes to start
|
|
|
|
# here we have a single node
|
|
|
|
CELERYD_NODES="w1"
|
|
|
|
# or we could have three nodes:
|
|
|
|
#CELERYD_NODES="w1 w2 w3"
|
|
|
|
|
|
|
|
# App instance to use
|
|
|
|
# comment out this line if you don't use an app
|
|
|
|
CELERY_APP="weblate"
|
|
|
|
|
|
|
|
# How to call manage.py
|
|
|
|
CELERYD_MULTI="multi"
|
|
|
|
|
|
|
|
# Extra command-line arguments to the worker
|
|
|
|
CELERYD_OPTS="--beat"
|
|
|
|
|
|
|
|
# - %n will be replaced with the first part of the nodename.
|
|
|
|
# - %I will be replaced with the current child process index
|
|
|
|
# and is important when using the prefork pool to avoid race conditions.
|
2018-10-24 22:08:30 +02:00
|
|
|
CELERYD_PID_FILE="/var/run/__APP__-celery/weblate-%n.pid"
|
|
|
|
CELERYD_LOG_FILE="/var/log/__APP__-celery/celery-%n%I.log"
|
2018-10-19 23:28:40 +02:00
|
|
|
CELERYD_LOG_LEVEL="INFO"
|
|
|
|
|
|
|
|
CELERY_WORKER_RUNNING="1"
|