2019-08-14 12:40:55 -05:00
|
|
|
[supervisord]
|
|
|
|
logfile_maxbytes=1MB
|
|
|
|
logfile_backups=2
|
|
|
|
nodaemon=true
|
|
|
|
|
2020-05-16 11:09:05 -05:00
|
|
|
[eventlistener:dependent-startup]
|
|
|
|
command=python -m supervisord_dependent_startup
|
2019-08-14 12:40:55 -05:00
|
|
|
autostart=true
|
2020-05-16 11:09:05 -05:00
|
|
|
autorestart=unexpected
|
|
|
|
startretries=0
|
|
|
|
exitcodes=0,3
|
|
|
|
events=PROCESS_STATE
|
2019-08-14 12:40:55 -05:00
|
|
|
|
|
|
|
[program:rsyslogd]
|
2020-05-16 11:09:05 -05:00
|
|
|
command=/usr/sbin/rsyslogd -n -iNONE
|
|
|
|
priority=1
|
2019-08-14 12:40:55 -05:00
|
|
|
autostart=false
|
|
|
|
autorestart=false
|
|
|
|
stdout_logfile=syslog
|
|
|
|
stderr_logfile=syslog
|
2020-05-16 11:09:05 -05:00
|
|
|
dependent_startup=true
|
2019-08-14 12:40:55 -05:00
|
|
|
|
|
|
|
[program:syncd]
|
|
|
|
command=/usr/bin/syncd_start.sh
|
2020-05-16 11:09:05 -05:00
|
|
|
priority=2
|
2019-08-14 12:40:55 -05:00
|
|
|
autostart=false
|
|
|
|
autorestart=false
|
|
|
|
stdout_logfile=syslog
|
|
|
|
stderr_logfile=syslog
|
2020-05-16 11:09:05 -05:00
|
|
|
dependent_startup=true
|
|
|
|
dependent_startup_wait_for=rsyslogd:running
|