diff --git a/ansible/roles/sonicv2/templates/etc/systemd/system/syncd.j2 b/ansible/roles/sonicv2/templates/etc/systemd/system/syncd.j2 index 136c4fb1a9c..778eae9d324 100644 --- a/ansible/roles/sonicv2/templates/etc/systemd/system/syncd.j2 +++ b/ansible/roles/sonicv2/templates/etc/systemd/system/syncd.j2 @@ -8,11 +8,13 @@ User=root {% if sonic_hwsku == 'ACS-MSN2700' %} ExecStartPre=/etc/init.d/sxdkernel start ExecStartPre=/usr/bin/mst start +ExecStartPre=/etc/mlnx/msn2700 start {% endif %} ExecStartPre=/usr/bin/docker exec database redis-cli FLUSHALL ExecStart=/usr/bin/docker start -a syncd ExecStop=/usr/bin/docker stop syncd {% if sonic_hwsku == 'ACS-MSN2700' %} +ExecStopPost=/etc/mlnx/msn2700 stop ExecStopPost=/etc/init.d/sxdkernel stop ExecStopPost=/usr/bin/mst stop {% endif %}