@@ -157,9 +157,9 @@ function waitForAllInstanceDatabaseConfigJsonFilesReady()
157
157
done
158
158
fi
159
159
# Delay a second to allow all instance database_config.json files to be completely generated and fully accessible.
160
- # This delay is needed to make sure that the database_config.json files are correctly rendered from j2 template
160
+ # This delay is needed to make sure that the database_config.json files are correctly rendered from j2 template
161
161
# files ( renderning takes some time )
162
- sleep 1
162
+ sleep 1
163
163
fi
164
164
}
165
165
{%- endif %}
@@ -240,7 +240,7 @@ function postStartAction()
240
240
mv $WARM_DIR /dump.rdb $WARM_DIR /dump.rdb.old
241
241
else
242
242
# If there is a config_db.json dump file, load it.
243
- if [ -r /etc/sonic/config_db$DEV .json ]; then
243
+ if [ -r /etc/sonic/config_db$DEV .json ]; then
244
244
245
245
if [ -r /etc/sonic/init_cfg.json ]; then
246
246
$SONIC_CFGGEN -j /etc/sonic/init_cfg.json -j /etc/sonic/config_db$DEV .json --write-to-db
@@ -323,7 +323,7 @@ start() {
323
323
324
324
{%- if sonic_asic_platform == " broadcom" %}
325
325
{%- if docker_container_name == " syncd" %}
326
- # Set the SYNCD_SHM_SIZE if this variable not defined
326
+ # Set the SYNCD_SHM_SIZE if this variable not defined
327
327
BRCM_PLATFORM_COMMON_DIR=/usr/share/sonic/device/x86_64-broadcom_common
328
328
SYNCD_SHM_INI=$BRCM_PLATFORM_COMMON_DIR /syncd_shm.ini
329
329
@@ -530,14 +530,15 @@ start() {
530
530
{%- if docker_container_name == " syncd" %}
531
531
-v /var/log/mellanox:/var/log/mellanox:rw \
532
532
-v mlnx_sdk_socket:/var/run/sx_sdk \
533
- -v mlnx_sdk_ready :/tmp \
533
+ -v /tmp/nv-syncd-shared/ :/tmp \
534
534
-v /dev/shm:/dev/shm:rw \
535
535
-v /var/log/sai_failure_dump:/var/log/sai_failure_dump:rw \
536
536
-e SX_API_SOCKET_FILE=/var/run/sx_sdk/sx_api.sock \
537
537
{%- elif docker_container_name == " pmon" %}
538
538
-v /var/run/hw-management:/var/run/hw-management:rw \
539
539
-v mlnx_sdk_socket:/var/run/sx_sdk \
540
- -v mlnx_sdk_ready:/tmp \
540
+ -v /tmp/nv-syncd-shared/:/tmp \
541
+ -v /dev/shm:/dev/shm:rw \
541
542
-e SX_API_SOCKET_FILE=/var/run/sx_sdk/sx_api.sock \
542
543
-v /dev/shm:/dev/shm:rw \
543
544
{%- else %}
0 commit comments