663bf00c22
At SWSS docker init time, check the device subtype and enable tunnel packet handler only if it is dualtor Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
208 lines
4.2 KiB
Plaintext
208 lines
4.2 KiB
Plaintext
[supervisord]
|
|
logfile_maxbytes=1MB
|
|
logfile_backups=2
|
|
nodaemon=true
|
|
|
|
[eventlistener:dependent-startup]
|
|
command=python3 -m supervisord_dependent_startup
|
|
autostart=true
|
|
autorestart=unexpected
|
|
startretries=0
|
|
exitcodes=0,3
|
|
events=PROCESS_STATE
|
|
buffer_size=1024
|
|
|
|
[eventlistener:supervisor-proc-exit-listener]
|
|
command=/usr/bin/supervisor-proc-exit-listener --container-name swss
|
|
events=PROCESS_STATE_EXITED,PROCESS_STATE_RUNNING
|
|
autostart=true
|
|
autorestart=unexpected
|
|
buffer_size=1024
|
|
|
|
[program:rsyslogd]
|
|
command=/usr/sbin/rsyslogd -n -iNONE
|
|
priority=1
|
|
autostart=false
|
|
autorestart=unexpected
|
|
stdout_logfile=syslog
|
|
stderr_logfile=syslog
|
|
dependent_startup=true
|
|
|
|
[program:gearsyncd]
|
|
command=/usr/bin/gearsyncd -p /usr/share/sonic/hwsku/gearbox_config.json
|
|
priority=3
|
|
autostart=false
|
|
autorestart=false
|
|
startsecs=0
|
|
startretries=0
|
|
stdout_logfile=syslog
|
|
stderr_logfile=syslog
|
|
dependent_startup=true
|
|
dependent_startup_wait_for=rsyslogd:running
|
|
|
|
[program:portsyncd]
|
|
command=/usr/bin/portsyncd
|
|
priority=3
|
|
autostart=false
|
|
autorestart=false
|
|
stdout_logfile=syslog
|
|
stderr_logfile=syslog
|
|
dependent_startup=true
|
|
dependent_startup_wait_for=rsyslogd:running
|
|
|
|
[program:orchagent]
|
|
command=/usr/bin/orchagent.sh
|
|
priority=4
|
|
autostart=false
|
|
autorestart=false
|
|
stdout_logfile=syslog
|
|
stderr_logfile=syslog
|
|
dependent_startup=true
|
|
dependent_startup_wait_for=portsyncd:running
|
|
|
|
[program:swssconfig]
|
|
command=/usr/bin/swssconfig.sh
|
|
priority=5
|
|
autostart=false
|
|
autorestart=unexpected
|
|
startretries=0
|
|
startsecs=0
|
|
stdout_logfile=syslog
|
|
stderr_logfile=syslog
|
|
dependent_startup=true
|
|
dependent_startup_wait_for=orchagent:running
|
|
|
|
[program:restore_neighbors]
|
|
command=/usr/bin/restore_neighbors.py
|
|
priority=6
|
|
autostart=false
|
|
autorestart=false
|
|
startsecs=0
|
|
startretries=0
|
|
stdout_logfile=syslog
|
|
stderr_logfile=syslog
|
|
dependent_startup=true
|
|
dependent_startup_wait_for=swssconfig:exited
|
|
|
|
[program:coppmgrd]
|
|
command=/usr/bin/coppmgrd
|
|
priority=6
|
|
autostart=false
|
|
autorestart=false
|
|
startretries=0
|
|
startsecs=0
|
|
stdout_logfile=syslog
|
|
stderr_logfile=syslog
|
|
dependent_startup=true
|
|
dependent_startup_wait_for=orchagent:running
|
|
|
|
[program:neighsyncd]
|
|
command=/usr/bin/neighsyncd
|
|
priority=7
|
|
autostart=false
|
|
autorestart=false
|
|
stdout_logfile=syslog
|
|
stderr_logfile=syslog
|
|
dependent_startup=true
|
|
dependent_startup_wait_for=swssconfig:exited
|
|
|
|
[program:vlanmgrd]
|
|
command=/usr/bin/vlanmgrd
|
|
priority=8
|
|
autostart=false
|
|
autorestart=false
|
|
stdout_logfile=syslog
|
|
stderr_logfile=syslog
|
|
dependent_startup=true
|
|
dependent_startup_wait_for=swssconfig:exited
|
|
|
|
[program:intfmgrd]
|
|
command=/usr/bin/intfmgrd
|
|
priority=9
|
|
autostart=false
|
|
autorestart=false
|
|
stdout_logfile=syslog
|
|
stderr_logfile=syslog
|
|
dependent_startup=true
|
|
dependent_startup_wait_for=swssconfig:exited
|
|
|
|
[program:portmgrd]
|
|
command=/usr/bin/portmgrd
|
|
priority=10
|
|
autostart=false
|
|
autorestart=false
|
|
stdout_logfile=syslog
|
|
stderr_logfile=syslog
|
|
dependent_startup=true
|
|
dependent_startup_wait_for=swssconfig:exited
|
|
|
|
[program:buffermgrd]
|
|
command=/usr/bin/buffermgrd.sh
|
|
priority=11
|
|
autostart=false
|
|
autorestart=false
|
|
stdout_logfile=syslog
|
|
stderr_logfile=syslog
|
|
dependent_startup=true
|
|
dependent_startup_wait_for=swssconfig:exited
|
|
|
|
[program:vrfmgrd]
|
|
command=/usr/bin/vrfmgrd
|
|
priority=13
|
|
autostart=false
|
|
autorestart=false
|
|
stdout_logfile=syslog
|
|
stderr_logfile=syslog
|
|
dependent_startup=true
|
|
dependent_startup_wait_for=swssconfig:exited
|
|
|
|
[program:nbrmgrd]
|
|
command=/usr/bin/nbrmgrd
|
|
priority=15
|
|
autostart=false
|
|
autorestart=false
|
|
stdout_logfile=syslog
|
|
stderr_logfile=syslog
|
|
dependent_startup=true
|
|
dependent_startup_wait_for=swssconfig:exited
|
|
|
|
[program:vxlanmgrd]
|
|
command=/usr/bin/vxlanmgrd
|
|
priority=16
|
|
autostart=false
|
|
autorestart=false
|
|
stdout_logfile=syslog
|
|
stderr_logfile=syslog
|
|
dependent_startup=true
|
|
dependent_startup_wait_for=swssconfig:exited
|
|
|
|
[program:tunnelmgrd]
|
|
command=/usr/bin/tunnelmgrd
|
|
priority=17
|
|
autostart=false
|
|
autorestart=false
|
|
stdout_logfile=syslog
|
|
stderr_logfile=syslog
|
|
dependent_startup=true
|
|
dependent_startup_wait_for=swssconfig:exited
|
|
|
|
[program:enable_counters]
|
|
command=/usr/bin/enable_counters.py
|
|
priority=12
|
|
autostart=false
|
|
autorestart=false
|
|
stdout_logfile=syslog
|
|
stderr_logfile=syslog
|
|
dependent_startup=true
|
|
dependent_startup_wait_for=swssconfig:exited
|
|
|
|
[program:fdbsyncd]
|
|
command=/usr/bin/fdbsyncd
|
|
priority=17
|
|
autostart=false
|
|
autorestart=false
|
|
stdout_logfile=syslog
|
|
stderr_logfile=syslog
|
|
dependent_startup=true
|
|
dependent_startup_wait_for=swssconfig:exited
|