Guest User

Untitled

a guest
Jan 21st, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. # Name of nodes to start, here we have a single node
  2. CELERYD_NODES="w1"
  3. # or we could have three nodes:
  4. #CELERYD_NODES="w1 w2 w3"
  5.  
  6. # Where to chdir at start.
  7. CELERYD_CHDIR="/mnt/hgfs/Concert/concertapp/"
  8.  
  9. # How to call "manage.py celeryd_multi"
  10. CELERYD_MULTI="$CELERYD_CHDIR/manage.py celeryd_multi"
  11.  
  12. # Extra arguments to celeryd
  13. #CELERYD_OPTS="--time-limit=300 --concurrency=2"
  14.  
  15. # Name of the celery config module.
  16. #CELERY_CONFIG_MODULE="celeryconfig"
  17.  
  18. # %n will be replaced with the nodename.
  19. CELERYD_LOG_FILE="/var/log/celery/%n.log"
  20. CELERYD_PID_FILE="/var/run/celery/%n.pid"
  21. CELERY_LOG_LEVEL="INFO"
  22.  
  23. # Workers should run as an unprivileged user.
  24. CELERYD_USER="celery"
  25. CELERYD_GROUP="celery"
  26.  
  27. # Name of the projects settings module.
  28. export DJANGO_SETTINGS_MODULE="settings"
Add Comment
Please, Sign In to add comment