2018-11-21 00:32:40 -06:00
|
|
|
[supervisord]
|
|
|
|
logfile_maxbytes=1MB
|
|
|
|
logfile_backups=2
|
|
|
|
nodaemon=true
|
|
|
|
|
2020-05-16 10:33:46 -05:00
|
|
|
[eventlistener:dependent-startup]
|
|
|
|
command=python -m supervisord_dependent_startup
|
|
|
|
autostart=true
|
|
|
|
autorestart=unexpected
|
|
|
|
startretries=0
|
|
|
|
exitcodes=0,3
|
|
|
|
events=PROCESS_STATE
|
|
|
|
|
2020-03-31 17:00:48 -05:00
|
|
|
[eventlistener:supervisor-proc-exit-listener]
|
|
|
|
command=/usr/bin/supervisor-proc-exit-listener --container-name syncd
|
|
|
|
events=PROCESS_STATE_EXITED
|
|
|
|
autostart=true
|
|
|
|
autorestart=unexpected
|
|
|
|
|
2020-05-16 10:33:46 -05:00
|
|
|
[program:rsyslogd]
|
|
|
|
command=/usr/sbin/rsyslogd -n -iNONE
|
2018-11-21 00:32:40 -06:00
|
|
|
priority=1
|
2020-05-16 10:33:46 -05:00
|
|
|
autostart=false
|
|
|
|
autorestart=unexpected
|
2018-11-21 00:32:40 -06:00
|
|
|
stdout_logfile=syslog
|
|
|
|
stderr_logfile=syslog
|
2020-05-16 10:33:46 -05:00
|
|
|
dependent_startup=true
|
2018-11-21 00:32:40 -06:00
|
|
|
|
2020-05-16 10:33:46 -05:00
|
|
|
[program:start]
|
|
|
|
command=/usr/bin/start.sh
|
2018-11-21 00:32:40 -06:00
|
|
|
priority=2
|
|
|
|
autostart=false
|
2020-05-16 10:33:46 -05:00
|
|
|
autorestart=false
|
|
|
|
startsecs=0
|
2018-11-21 00:32:40 -06:00
|
|
|
stdout_logfile=syslog
|
|
|
|
stderr_logfile=syslog
|
2020-05-16 10:33:46 -05:00
|
|
|
dependent_startup=true
|
|
|
|
dependent_startup_wait_for=rsyslogd:running
|
2018-11-21 00:32:40 -06:00
|
|
|
|
|
|
|
[program:syncd]
|
|
|
|
command=/usr/bin/syncd_start.sh
|
|
|
|
priority=3
|
|
|
|
autostart=false
|
|
|
|
autorestart=false
|
|
|
|
stdout_logfile=syslog
|
|
|
|
stderr_logfile=syslog
|
2020-05-16 10:33:46 -05:00
|
|
|
dependent_startup=true
|
|
|
|
dependent_startup_wait_for=start:exited
|