зеркало из https://github.com/mozilla/treeherder.git
split supervisord.conf into admin_node and worker_node
This commit is contained in:
Родитель
4d13a3d00d
Коммит
829d941092
|
@ -40,17 +40,6 @@ priority=998
|
|||
stdout_logfile=/var/log/celery/worker.log
|
||||
stderr_logfile=/var/log/celery/worker_err.log
|
||||
|
||||
[program:celery_gevent]
|
||||
command=/home/vagrant/treeherder-service/bin/run_celery_worker_gevent
|
||||
user=vagrant
|
||||
autostart=true
|
||||
autorestart=true
|
||||
startsecs=10
|
||||
stopwaitsecs = 600
|
||||
priority=998
|
||||
stdout_logfile=/var/log/celery/worker_gevent.log
|
||||
stderr_logfile=/var/log/celery/worker_gevent_err.log
|
||||
|
||||
[program:celerymon]
|
||||
command=/home/vagrant/treeherder-service/bin/run_celery_monitor
|
||||
user=vagrant
|
||||
|
@ -61,3 +50,4 @@ stopwaitsecs = 600
|
|||
priority=997
|
||||
stdout_logfile=/var/log/celery/celerymon.log
|
||||
stderr_logfile=/var/log/celery/celerymon_err.log
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
[supervisord]
|
||||
http_port=/var/tmp/supervisor.sock ; (default is to run a UNIX domain socket server)
|
||||
loglevel=info ; (logging level;default info; others: debug,warn)
|
||||
nodaemon=true ; (start in foreground if true;default false)
|
||||
|
||||
[supervisorctl]
|
||||
serverurl=unix:///var/tmp/supervisor.sock ; use a unix:// URL for a unix socket
|
||||
|
||||
[program:celery_gevent]
|
||||
command=/home/vagrant/treeherder-service/bin/run_celery_worker_gevent
|
||||
user=vagrant
|
||||
autostart=true
|
||||
autorestart=true
|
||||
startsecs=10
|
||||
stopwaitsecs = 600
|
||||
priority=998
|
||||
stdout_logfile=/var/log/celery/worker_gevent.log
|
||||
stderr_logfile=/var/log/celery/worker_gevent_err.log
|
||||
|
Загрузка…
Ссылка в новой задаче