2013-09-25 20:26:50 +02:00
|
|
|
; Supervisor config file for stats.zulip.net
|
2013-06-03 21:43:52 +02:00
|
|
|
; It runs graphite, graphiti, statsd
|
|
|
|
|
|
|
|
|
2013-09-25 20:26:50 +02:00
|
|
|
[program:zulip-carbon-cache]
|
2016-04-07 15:27:25 +02:00
|
|
|
command=python /opt/graphite/bin/carbon-cache.py --debug start
|
2013-06-03 21:43:52 +02:00
|
|
|
priority=200 ; the relative start priority (default 999)
|
|
|
|
autostart=true ; start at supervisord start (default: true)
|
|
|
|
autorestart=true ; whether/when to restart (default: unexpected)
|
|
|
|
stopsignal=TERM ; signal used to kill process (default TERM)
|
|
|
|
stopwaitsecs=30 ; max num secs to wait b4 SIGKILL (default 10)
|
|
|
|
user=root ; setuid to this UNIX account to run the program
|
|
|
|
redirect_stderr=true ; redirect proc stderr to stdout (default false)
|
2013-09-25 20:11:33 +02:00
|
|
|
stdout_logfile=/var/log/zulip/carbon-cache.log ; stdout log path, NONE for none; default AUTO
|
2013-10-04 19:19:57 +02:00
|
|
|
directory=/home/zulip/
|
2013-06-03 21:43:52 +02:00
|
|
|
|
2013-09-25 20:26:50 +02:00
|
|
|
[program:zulip-carbon-aggregator]
|
2016-04-07 15:27:25 +02:00
|
|
|
command=python /opt/graphite/bin/carbon-aggregator.py --debug start
|
2013-06-03 21:43:52 +02:00
|
|
|
priority=200 ; the relative start priority (default 999)
|
|
|
|
autostart=true ; start at supervisord start (default: true)
|
|
|
|
autorestart=true ; whether/when to restart (default: unexpected)
|
|
|
|
stopsignal=TERM ; signal used to kill process (default TERM)
|
|
|
|
stopwaitsecs=30 ; max num secs to wait b4 SIGKILL (default 10)
|
|
|
|
user=root ; setuid to this UNIX account to run the program
|
|
|
|
redirect_stderr=true ; redirect proc stderr to stdout (default false)
|
2013-09-25 20:11:33 +02:00
|
|
|
stdout_logfile=/var/log/zulip/carbon-aggregator.log ; stdout log path, NONE for none; default AUTO
|
2013-10-04 19:19:57 +02:00
|
|
|
directory=/home/zulip/
|
2013-06-03 21:43:52 +02:00
|
|
|
|
2013-09-25 20:26:50 +02:00
|
|
|
[program:zulip-statsd]
|
2013-10-30 00:20:04 +01:00
|
|
|
command=node stats.js /home/zulip/zulip/puppet/zulip/files/statsd/local.js
|
2013-06-03 21:43:52 +02:00
|
|
|
priority=200 ; the relative start priority (default 999)
|
|
|
|
autostart=true ; start at supervisord start (default: true)
|
|
|
|
autorestart=true ; whether/when to restart (default: unexpected)
|
|
|
|
stopsignal=TERM ; signal used to kill process (default TERM)
|
|
|
|
stopwaitsecs=30 ; max num secs to wait b4 SIGKILL (default 10)
|
2013-10-04 20:23:48 +02:00
|
|
|
user=zulip ; setuid to this UNIX account to run the program
|
2013-06-03 21:43:52 +02:00
|
|
|
redirect_stderr=true ; redirect proc stderr to stdout (default false)
|
2013-09-25 20:11:33 +02:00
|
|
|
stdout_logfile=/var/log/zulip/statsd.log ; stdout log path, NONE for none; default AUTO
|
2013-10-04 19:19:57 +02:00
|
|
|
directory=/home/zulip/statsd
|
2013-06-03 21:43:52 +02:00
|
|
|
|
|
|
|
|
2013-09-25 20:26:50 +02:00
|
|
|
[program:zulip-graphiti]
|
2013-10-04 19:19:57 +02:00
|
|
|
command=/home/zulip/zulip/tools/run-graphiti
|
2013-06-03 21:43:52 +02:00
|
|
|
autostart=true ; start at supervisord start (default: true)
|
|
|
|
autorestart=true ; whether/when to restart (default: unexpected)
|
|
|
|
stopsignal=TERM ; signal used to kill process (default TERM)
|
|
|
|
stopwaitsecs=30 ; max num secs to wait b4 SIGKILL (default 10)
|
2013-10-04 20:23:48 +02:00
|
|
|
user=zulip ; setuid to this UNIX account to run the program
|
2013-06-03 21:43:52 +02:00
|
|
|
redirect_stderr=true ; redirect proc stderr to stdout (default false)
|
2013-09-25 20:11:33 +02:00
|
|
|
stdout_logfile=/var/log/zulip/graphiti.log ; stdout log path, NONE for none; default AUTO
|
2013-10-04 19:19:57 +02:00
|
|
|
directory=/home/zulip/graphiti
|
2013-06-03 21:43:52 +02:00
|
|
|
|
2013-09-25 20:26:50 +02:00
|
|
|
[group:zulip-stats]
|
|
|
|
programs=zulip-carbon-cache,zulip-carbon-aggregator,zulip-statsd,zulip-graphiti
|