Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@ahmadalsajid
Created June 12, 2019 12:47
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 ahmadalsajid/8269f73bd15777013e4ebb4f7c9de8a1 to your computer and use it in GitHub Desktop.
Save ahmadalsajid/8269f73bd15777013e4ebb4f7c9de8a1 to your computer and use it in GitHub Desktop.
# The names of the workers. This example create one worker
CELERYD_NODES="worker1"
# The name of the Celery App, should be the same as the python file
# where the Celery tasks are defined
CELERY_APP="db_update"
# Log and PID directories
CELERYD_LOG_FILE="/var/log/celery/%n%I.log"
CELERYD_PID_FILE="/var/run/celery/%n.pid"
# Log level
CELERYD_LOG_LEVEL=INFO
# Path to celery binary, that is in your virtual environment
CELERY_BIN=/home/sajid/venv/course_management/bin/celery
# Options for Celery Beat
CELERYBEAT_PID_FILE="/var/run/celery/beat.pid"
CELERYBEAT_LOG_FILE="/var/log/celery/beat.log"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment