2019-01-11 20:15:43 +00:00
|
|
|
[group:bots]
|
2019-01-27 21:20:09 +00:00
|
|
|
programs = bots_web,bots_aggregator_client,bots_celeryd,bots_celerybeat
|
2019-01-11 20:15:43 +00:00
|
|
|
|
|
|
|
[program:bots_web]
|
2019-01-11 19:16:01 +00:00
|
|
|
user = http
|
|
|
|
directory = /srv/apps/bots
|
|
|
|
command = /srv/apps/bots/venv/bin/uwsgi --yaml /srv/apps/bots/uwsgi.yml
|
|
|
|
autostart = true
|
|
|
|
autorestart = true
|
|
|
|
stderr_logfile = /srv/apps/bots/logs/uwsgi.log
|
|
|
|
stdout_logfile = /srv/apps/bots/logs/uwsgi.log
|
|
|
|
stopsignal = INT
|
2019-01-11 20:15:43 +00:00
|
|
|
|
2019-01-27 21:20:09 +00:00
|
|
|
[program:bots_aggregator_client]
|
|
|
|
user = http
|
|
|
|
directory = /srv/apps/bots
|
|
|
|
command = /srv/apps/bots/venv/bin/python /srv/apps/bots/manage.py start_aggregator_client
|
|
|
|
autostart = true
|
|
|
|
autorestart = true
|
|
|
|
stderr_logfile = /srv/apps/bots/logs/aggregator_client.log
|
|
|
|
stdout_logfile = /srv/apps/bots/logs/aggregator_client.log
|
|
|
|
stopsignal = INT
|
|
|
|
|
2019-01-11 20:15:43 +00:00
|
|
|
[program:bots_celeryd]
|
|
|
|
user = http
|
|
|
|
directory = /srv/apps/bots
|
|
|
|
command=/srv/apps/bots/venv/bin/celery worker --app=config -l info
|
|
|
|
stdout_logfile=/srv/apps/bots/logs/celeryd.log
|
|
|
|
stderr_logfile=/srv/apps/bots/logs/celeryd.log
|
|
|
|
autostart=true
|
|
|
|
autorestart=true
|
|
|
|
startsecs=10
|
|
|
|
stopwaitsecs=600
|
|
|
|
|
2019-01-26 09:36:44 +00:00
|
|
|
[program:bots_celerybeat]
|
2019-01-11 20:15:43 +00:00
|
|
|
user = http
|
|
|
|
directory = /srv/apps/bots
|
2019-01-26 09:36:44 +00:00
|
|
|
command=/srv/apps/bots/venv/bin/celery beat --app=config -l info
|
|
|
|
stdout_logfile=/srv/apps/bots/logs/celerybeat.log
|
|
|
|
stderr_logfile=/srv/apps/bots/logs/celerybeat.log
|
2019-01-11 20:15:43 +00:00
|
|
|
autostart=true
|
|
|
|
autorestart=true
|
|
|
|
startsecs=10
|
|
|
|
stopwaitsecs=600
|