We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36e9ad5 commit ae84318Copy full SHA for ae84318
platform/mellanox/hw-management/Add-systemd-service-config.patch
@@ -29,14 +29,15 @@ new file mode 100644
29
index 0000000..d18916d
30
--- /dev/null
31
+++ b/debian/hw-management.service
32
-@@ -0,0 +1,10 @@
+@@ -0,0 +1,11 @@
33
+[Unit]
34
+Description=Mellanox Hardware Management
35
+
36
+[Service]
37
+Type=oneshot
38
+EnvironmentFile=/host/machine.conf
39
+ExecStart=/bin/bash -c "/usr/share/sonic/device/$onie_platform/hw-management start"
40
++ExecStop=/bin/bash -c "/usr/share/sonic/device/$onie_platform/hw-management stop"
41
42
+[Install]
43
+WantedBy=multi-user.target
0 commit comments