-
Notifications
You must be signed in to change notification settings - Fork 1
Celery setup
Pavel Kucherbaev edited this page Nov 18, 2015
·
1 revision
How to setup demonized celery
CELERYD_NODES="worker1"
#CELERYD_NODES="worker1 worker2 worker3"
CELERY_BIN="/opt/rockpearl-local/bin/celery" #CELERY_BIN="/virtualenvs/def/bin/celery"
CELERY_APP="marble3d.tasks:app"
#CELERY_APP="proj.tasks:app"
CELERYD_CHDIR="/root/projects/rockpearl/"
CELERYD_OPTS="--time-limit=300 --concurrency=8"
CELERYD_LOG_FILE="/var/log/celery/%N.log" CELERYD_PID_FILE="/var/run/celery/%N.pid"
CELERYD_USER="celery" CELERYD_GROUP="celery"
CELERY_CREATE_DIRS=1