Skip to content

Instantly share code, notes, and snippets.

@prudnitskiy
Created November 24, 2015 20:14
Show Gist options
  • Save prudnitskiy/7ffdf75b67e9a66e1bf1 to your computer and use it in GitHub Desktop.
Save prudnitskiy/7ffdf75b67e9a66e1bf1 to your computer and use it in GitHub Desktop.
supervisor config
[program:yalm-celeryd]
command=/home/proj/yalm/manage.py celeryd -B --concurrency=3 --loglevel=INFO
environment=PATH="/home/proj/virtualenv/yalm/bin"
directory=/home/proj/yalm
user=webapp
numprocs=1
stdout_logfile=/var/log/celery/yalm-out.log
stderr_logfile=/var/log/celery/yalm-err.log
autostart=true
autorestart=true
startsecs=10
stopwaitsecs = 600
priority=997
[program:yalm-celerycam]
command=/home/proj/yalm/manage.py celerycam --loglevel=INFO
environment=PATH="/home/proj/virtualenv/yalm/bin"
directory=/home/proj/yalm
user=webapp
numprocs=1
stdout_logfile=/var/log/celery/yalm-out.log
stderr_logfile=/var/log/celery/yalm-err.log
autostart=true
autorestart=true
startsecs=10
stopwaitsecs = 600
priority=998
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment