Skip to content

Instantly share code, notes, and snippets.

@dima-kov
Created June 7, 2018 10:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dima-kov/6bde465c98cb067201b3d9c1c7ebbd5a to your computer and use it in GitHub Desktop.
Save dima-kov/6bde465c98cb067201b3d9c1c7ebbd5a to your computer and use it in GitHub Desktop.
Celery deploy
CELERYD_NODES="bookgo-worker"
CELERY_BIN="/var/sites/bookgo/env/bin/celery"
CELERY_APP="bocrok"
CELERYD_CHDIR="/var/sites/bookgo/src"
# Set logging level to DEBUG
CELERYD_LOG_LEVEL="DEBUG"
# %n will be replaced with the first part of the nodename.
CELERYD_LOG_FILE="/var/sites/bookgo/log/celery/%n%I.log"
CELERYD_PID_FILE="/var/run/celery/%n.pid"
CELERYD_USER="celery"
CELERYD_GROUP="celery"
# If enabled pid and log directories will be created if missing,
# and owned by the userid/group configured.
CELERY_CREATE_DIRS=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment