Skip to content

Instantly share code, notes, and snippets.

@fxdgear
Created April 29, 2012 04:54
Show Gist options
  • Save fxdgear/2533110 to your computer and use it in GitHub Desktop.
Save fxdgear/2533110 to your computer and use it in GitHub Desktop.
[program:program_name1]
environment = PYTHONPATH="<< set up your python path here >>",DJANGO_SETTINGS_MODULE="program.settings"
command=<< path to project >>/manage.py celeryd -v 2 -B -s celery -E -l INFO
user=nobody
numprocs=1
stdout_logfile=/var/log/celery/program_name1.log
stderr_logfile=/var/log/celery/program_name1.err
autostart=true
autorestart=true
[program:program_name2]
environment = PYTHONPATH="<< set up your python path here >>",DJANGO_SETTINGS_MODULE="program.settings"
command=<< path to project >>/manage.py celeryd -v 2 -B -s celery -E -l INFO
user=nobody
numprocs=1
stdout_logfile=/var/log/celery/program_name2.log
stderr_logfile=/var/log/celery/program_name2.err
autostart=true
autorestart=true
[program:program_name3]
environment = PYTHONPATH="<< set up your python path here >>",DJANGO_SETTINGS_MODULE="program.settings"
command=<< path to project >>/manage.py celeryd -v 2 -B -s celery -E -l INFO
user=nobody
numprocs=1
stdout_logfile=/var/log/celery/program_name3.log
stderr_logfile=/var/log/celery/program_name3.err
autostart=true
autorestart=true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment