[Mellanox] Update platform driver service options (#2908)
Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
This commit is contained in:
parent
bce72c9228
commit
a78812b6bc
@ -29,12 +29,13 @@ new file mode 100644
|
||||
index 0000000..d18916d
|
||||
--- /dev/null
|
||||
+++ b/debian/hw-management.service
|
||||
@@ -0,0 +1,11 @@
|
||||
@@ -0,0 +1,12 @@
|
||||
+[Unit]
|
||||
+Description=Mellanox Hardware Management
|
||||
+
|
||||
+[Service]
|
||||
+Type=oneshot
|
||||
+RemainAfterExit=true
|
||||
+EnvironmentFile=/host/machine.conf
|
||||
+ExecStart=/bin/bash -c "/usr/share/sonic/device/$onie_platform/hw-management start"
|
||||
+ExecStop=/bin/bash -c "/usr/share/sonic/device/$onie_platform/hw-management stop"
|
||||
|
Reference in New Issue
Block a user