2013-08-23 20:49:06 +02:00
|
|
|
[program:zmirror-USERNAME]
|
2013-08-27 17:10:27 +02:00
|
|
|
command=python /home/humbug/humbug/bots/zephyr_mirror_backend.py --root-path=/home/humbug/humbug/bots --user=USERNAME --log-path=/home/humbug/logs/mirror-log-%(program_name)s --use-sessions --session-path=/home/humbug/zephyr_sessions/%(program_name)s --api-key-file=/home/humbug/api-keys/%(program_name)s --ignore-expired-tickets --nagios-path=/home/humbug/mirror_status/%(program_name)s --nagios-class=zulip-mirror-nagios
|
2013-08-23 20:49:06 +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=humbug ; 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/%(program_name)s.log ; stdout log path, NONE for none; default AUTO
|
2013-08-23 20:49:06 +02:00
|
|
|
environment=HOME="/home/humbug",USER="humbug",KRB5CCNAME="/home/humbug/ccache/%(program_name)s"
|