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
|
2018-11-21 00:32:40 -06:00
|
|
|
autostart=true
|
2020-05-16 10:33:46 -05:00
|
|
|
autorestart=unexpected
|
|
|
|
startretries=0
|
|
|
|
exitcodes=0,3
|
|
|
|
events=PROCESS_STATE
|
|
|
|
|
|
|
|
[eventlistener:supervisor-proc-exit-listener]
|
|
|
|
command=/usr/bin/supervisor-proc-exit-listener --container-name syncd
|
|
|
|
events=PROCESS_STATE_EXITED
|
|
|
|
autostart=true
|
|
|
|
autorestart=unexpected
|
|
|
|
|
|
|
|
[program:rsyslogd]
|
|
|
|
command=/usr/sbin/rsyslogd -n -iNONE
|
|
|
|
priority=1
|
|
|
|
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
|
|
|
|
autorestart=false
|
2020-05-16 10:33:46 -05:00
|
|
|
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
|