Skip to content

Commit 5a20589

Browse files
authored
Start fabric mgr daemon in swss container. (#17473)
The fabricmgr daemon started in vs environment for testing from #16791, we now start the daemon in product code.
1 parent fffd6e6 commit 5a20589

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

dockers/docker-orchagent/critical_processes.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ program:fdbsyncd
1212
program:vlanmgrd
1313
program:intfmgrd
1414
program:portmgrd
15+
program:fabricmgrd
1516
program:buffermgrd
1617
program:vrfmgrd
1718
program:nbrmgrd

dockers/docker-orchagent/supervisord.conf.j2

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,19 @@ environment=ASAN_OPTIONS="log_path=/var/log/asan/portmgrd-asan.log{{ asan_extra_
190190
{% endif %}
191191
{%- endif %}
192192

193+
[program:fabricmgrd]
194+
command=/usr/bin/fabricmgrd
195+
priority=10
196+
autostart=false
197+
autorestart=false
198+
stdout_logfile=syslog
199+
stderr_logfile=syslog
200+
dependent_startup=true
201+
dependent_startup_wait_for=swssconfig:exited
202+
{% if ENABLE_ASAN == "y" %}
203+
environment=ASAN_OPTIONS="log_path=/var/log/asan/fabricmgrd-asan.log{{ asan_extra_options }}"
204+
{% endif %}
205+
193206
{% if is_fabric_asic == 0 %}
194207
[program:buffermgrd]
195208
command=/usr/bin/buffermgrd.sh

0 commit comments

Comments
 (0)