From 746ad967a482999f4060c44ae50615331b0d50bd Mon Sep 17 00:00:00 2001 From: Volodymyr Samotiy Date: Tue, 14 Aug 2018 21:46:01 +0300 Subject: [PATCH] [mellanox]: Fix post stop action in swss service template (#1928) Signed-off-by: Volodymyr Samotiy --- files/build_templates/swss.service.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/build_templates/swss.service.j2 b/files/build_templates/swss.service.j2 index 289a840d35..8a138d46a7 100644 --- a/files/build_templates/swss.service.j2 +++ b/files/build_templates/swss.service.j2 @@ -44,7 +44,7 @@ ExecStop=/usr/bin/{{docker_container_name}}.sh stop ExecStopPost=/usr/bin/syncd.sh stop {% if sonic_asic_platform == 'mellanox' %} -ExecStartPre=/bin/bash -c "/etc/mlnx/mlnx-hw-management stop" +ExecStopPost=/bin/bash -c "/etc/mlnx/mlnx-hw-management stop" ExecStopPost=/etc/init.d/sxdkernel stop ExecStopPost=/usr/bin/mst stop {% elif sonic_asic_platform == 'cavium' %}