Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion ansible/roles/sonicv2/templates/etc/systemd/system/syncd.j2
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ ExecStartPre=/etc/mlnx/msn2700 start
ExecStartPre=-/etc/init.d/xpnet.sh stop
ExecStartPre=/etc/init.d/xpnet.sh start
{% endif %}
ExecStartPre=/usr/bin/docker exec database redis-cli FLUSHALL
ExecStartPre=/usr/bin/docker exec database redis-cli -n 0 FLUSHDB
ExecStartPre=/usr/bin/docker exec database redis-cli -n 1 FLUSHDB
ExecStartPre=/usr/bin/docker exec database redis-cli -n 2 FLUSHDB
ExecStart=/usr/bin/docker start -a syncd
ExecStop=/usr/bin/docker stop syncd
{% if sonic_hwsku == 'ACS-MSN2700' %}
Expand Down