2013-08-23 14:49:06 -04:00
|
|
|
[program:zmirror-USERNAME]
|
2013-10-04 13:08:46 -04:00
|
|
|
command=python /home/humbug/zulip/bots/zephyr_mirror_backend.py --root-path=/home/humbug/zulip/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 14:49:06 -04: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 14:11:33 -04:00
|
|
|
stdout_logfile=/var/log/zulip/%(program_name)s.log ; stdout log path, NONE for none; default AUTO
|
2013-08-23 14:49:06 -04:00
|
|
|
environment=HOME="/home/humbug",USER="humbug",KRB5CCNAME="/home/humbug/ccache/%(program_name)s"
|