28 lines
846 B
Plaintext
28 lines
846 B
Plaintext
# 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"
|
|
|
|
# Absolute or relative path to the 'celery' command:
|
|
CELERY_BIN="/var/www/poizonstore/env/bin/celery"
|
|
|
|
# App instance to use
|
|
CELERY_APP="poizonstore"
|
|
|
|
# How to call manage.py
|
|
CELERYD_MULTI="multi"
|
|
|
|
# Extra command-line arguments to the worker
|
|
CELERYD_OPTS=""
|
|
|
|
# - %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.
|
|
CELERYD_PID_FILE="/var/run/celery/%n.pid"
|
|
CELERYD_LOG_FILE="/var/log/celery/%n%I.log"
|
|
CELERYD_LOG_LEVEL="INFO"
|
|
|
|
# you may wish to add these options for Celery Beat
|
|
CELERYBEAT_PID_FILE="/var/run/celery/beat.pid"
|
|
CELERYBEAT_LOG_FILE="/var/log/celery/beat.log" |