2019-05-09 01:00:49 -05:00
|
|
|
[supervisord]
|
|
|
|
logfile_maxbytes=1MB
|
|
|
|
logfile_backups=2
|
|
|
|
nodaemon=true
|
|
|
|
|
2020-05-14 16:58:43 -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-03 18:50:32 -06:00
|
|
|
[eventlistener:supervisor-proc-exit-listener]
|
|
|
|
command=/usr/bin/supervisor-proc-exit-listener --container-name bgp
|
|
|
|
events=PROCESS_STATE_EXITED
|
|
|
|
autostart=true
|
|
|
|
autorestart=unexpected
|
|
|
|
|
2019-05-09 01:00:49 -05:00
|
|
|
[program:rsyslogd]
|
2020-05-14 16:58:43 -05:00
|
|
|
command=/usr/sbin/rsyslogd -n -iNONE
|
|
|
|
priority=1
|
2019-05-09 01:00:49 -05:00
|
|
|
autostart=false
|
2020-03-03 18:50:32 -06:00
|
|
|
autorestart=unexpected
|
2019-05-09 01:00:49 -05:00
|
|
|
startsecs=0
|
|
|
|
stdout_logfile=syslog
|
|
|
|
stderr_logfile=syslog
|
2020-05-14 16:58:43 -05:00
|
|
|
dependent_startup=true
|
2019-05-09 01:00:49 -05:00
|
|
|
|
|
|
|
[program:zebra]
|
2019-06-19 03:24:42 -05:00
|
|
|
command=/usr/lib/frr/zebra -A 127.0.0.1 -s 90000000 -M fpm -M snmp
|
2019-05-09 01:00:49 -05:00
|
|
|
priority=4
|
|
|
|
autostart=false
|
|
|
|
autorestart=false
|
|
|
|
startsecs=0
|
|
|
|
stdout_logfile=syslog
|
|
|
|
stderr_logfile=syslog
|
2020-05-14 16:58:43 -05:00
|
|
|
dependent_startup=true
|
|
|
|
dependent_startup_wait_for=rsyslogd:running
|
2019-05-09 01:00:49 -05:00
|
|
|
|
2019-05-16 12:59:12 -05:00
|
|
|
[program:staticd]
|
|
|
|
command=/usr/lib/frr/staticd -A 127.0.0.1
|
|
|
|
priority=4
|
|
|
|
autostart=false
|
|
|
|
autorestart=false
|
|
|
|
startsecs=0
|
|
|
|
stdout_logfile=syslog
|
|
|
|
stderr_logfile=syslog
|
2020-05-14 16:58:43 -05:00
|
|
|
dependent_startup=true
|
|
|
|
dependent_startup_wait_for=rsyslogd:running
|
2019-05-16 12:59:12 -05:00
|
|
|
|
2019-05-09 01:00:49 -05:00
|
|
|
[program:bgpd]
|
2019-06-19 03:24:42 -05:00
|
|
|
command=/usr/lib/frr/bgpd -A 127.0.0.1 -M snmp
|
2019-05-09 01:00:49 -05:00
|
|
|
priority=5
|
|
|
|
stopsignal=KILL
|
|
|
|
autostart=false
|
|
|
|
autorestart=false
|
|
|
|
startsecs=0
|
|
|
|
stdout_logfile=syslog
|
|
|
|
stderr_logfile=syslog
|
2020-05-14 16:58:43 -05:00
|
|
|
dependent_startup=true
|
|
|
|
dependent_startup_wait_for=rsyslogd:running
|
2019-05-09 01:00:49 -05:00
|
|
|
|
2020-05-14 16:58:43 -05:00
|
|
|
[program:fpmsyncd]
|
|
|
|
command=fpmsyncd
|
2019-05-09 01:00:49 -05:00
|
|
|
priority=6
|
|
|
|
autostart=false
|
|
|
|
autorestart=false
|
|
|
|
startsecs=0
|
|
|
|
stdout_logfile=syslog
|
|
|
|
stderr_logfile=syslog
|
2020-05-14 16:58:43 -05:00
|
|
|
dependent_startup=true
|
|
|
|
dependent_startup_wait_for=bgpd:running
|
2019-05-09 01:00:49 -05:00
|
|
|
|
2020-05-14 16:58:43 -05:00
|
|
|
[program:bgpcfgd]
|
|
|
|
command=/usr/bin/bgpcfgd
|
|
|
|
priority=6
|
|
|
|
autostart=false
|
|
|
|
autorestart=false
|
|
|
|
startsecs=0
|
|
|
|
stdout_logfile=syslog
|
|
|
|
stderr_logfile=syslog
|
|
|
|
dependent_startup=true
|
|
|
|
dependent_startup_wait_for=bgpd:running
|
|
|
|
|
|
|
|
{% if DEVICE_METADATA.localhost.docker_routing_config_mode is defined and DEVICE_METADATA.localhost.docker_routing_config_mode == "unified" %}
|
|
|
|
[program:vtysh_b]
|
|
|
|
command=/usr/bin/vtysh -b
|
2019-05-09 01:00:49 -05:00
|
|
|
priority=6
|
|
|
|
autostart=false
|
|
|
|
autorestart=false
|
|
|
|
startsecs=0
|
|
|
|
stdout_logfile=syslog
|
|
|
|
stderr_logfile=syslog
|
2020-05-14 16:58:43 -05:00
|
|
|
dependent_startup=true
|
|
|
|
dependent_startup_wait_for=rsyslogd:running
|
|
|
|
{% endif %}
|
2019-11-13 16:10:11 -06:00
|
|
|
|
2020-05-14 16:58:43 -05:00
|
|
|
{% if WARM_RESTART is defined and WARM_RESTART.bgp is defined and WARM_RESTART.bgp.bgp_eoiu is defined and WARM_RESTART.bgp.bgp_eoiu == "true" %}
|
2019-11-13 16:10:11 -06:00
|
|
|
[program:bgp_eoiu_marker]
|
|
|
|
command=/usr/bin/bgp_eoiu_marker.py
|
|
|
|
priority=7
|
|
|
|
autostart=false
|
|
|
|
autorestart=false
|
|
|
|
startsecs=0
|
|
|
|
startretries=0
|
|
|
|
stdout_logfile=syslog
|
|
|
|
stderr_logfile=syslog
|
2020-05-14 16:58:43 -05:00
|
|
|
dependent_startup=true
|
|
|
|
dependent_startup_wait_for=rsyslogd:running
|
|
|
|
{% endif %}
|