Merge pull request #164 from FinalsClub/filepick.io
[oweals/karmaworld.git] / confs / beta / supervisord.conf
1 [supervisord]
2 logfile = /var/www/karmaworld/var/log/supervisord.log
3 logfile_maxbytes = 10MB
4 logfile_backups = 5
5 loglevel = info
6 pidfile = /var/www/karmaworld/var/run/supervisord.pid
7
8 [supervisorctl]
9 serverurl = unix:///var/www/karmaworld/var/run/supervisor.sock
10
11 [unix_http_server]
12 file = /var/www/karmaworld/var/run/supervisor.sock
13 chmod = 0777
14
15 [rpcinterface:supervisor]
16 supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
17
18 [program:gunicorn]
19 command=/var/www/karmaworld/manage.py run_gunicorn -c confs/prod/gunicorn.conf
20 autostart = true
21 autorestart = true
22 redirect_stderr = true
23 stopsignal = QUIT
24
25 [program:celeryd]
26 command=/var/www/karmaworld/manage.py celery worker --pidfile=/var/www/karmaworld/var/run/celeryd.pid -l info
27 autorestart = true
28 redirect_stderr = true
29 stdout_logfile=/var/www/karmaworld/var/log/celeryd.log
30 priority = 2
31 stopsignal = QUIT
32