meta-stx: re-name and re-org to align with upstream
[pti/rtp.git] / meta-starlingx / meta-stx-flock / stx-metal / files / mtce-control-adjust-unit-file-paths.patch
diff --git a/meta-starlingx/meta-stx-flock/stx-metal/files/mtce-control-adjust-unit-file-paths.patch b/meta-starlingx/meta-stx-flock/stx-metal/files/mtce-control-adjust-unit-file-paths.patch
new file mode 100644 (file)
index 0000000..75bb932
--- /dev/null
@@ -0,0 +1,17 @@
+diff --git a/mtce-control/src/scripts/hbsAgent.service b/mtce-control/src/scripts/hbsAgent.service
+index de3cb8d..b26690d 100644
+--- a/mtce-control/src/scripts/hbsAgent.service
++++ b/mtce-control/src/scripts/hbsAgent.service
+@@ -5,9 +5,9 @@ Before=pmon.service
+ [Service]
+ Type=forking
+-ExecStart=/etc/rc.d/init.d/hbsAgent start
+-ExecStop=/etc/rc.d/init.d/hbsAgent start
+-PIDFile=/var/run/hbsAgent.pid
++ExecStart=/etc/init.d/hbsAgent start
++ExecStop=/etc/init.d/hbsAgent start
++PIDFile=/run/hbsAgent.pid
+ KillMode=process
+ SendSIGKILL=no