diff --git a/deployment/supervisord/treeherder.conf b/deployment/supervisord/admin_node.conf similarity index 82% rename from deployment/supervisord/treeherder.conf rename to deployment/supervisord/admin_node.conf index 21c2ca5a8..782ba6434 100644 --- a/deployment/supervisord/treeherder.conf +++ b/deployment/supervisord/admin_node.conf @@ -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 + diff --git a/deployment/supervisord/worker_node.conf b/deployment/supervisord/worker_node.conf new file mode 100644 index 000000000..33749fef3 --- /dev/null +++ b/deployment/supervisord/worker_node.conf @@ -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 +