meta-starlingx/meta-stx-flock/stx-metal/files/mtce-control-adjust-unit-file-paths.patch
Babak Sarashki 50998b89de mtce-control: Add hbsAgent service file
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-07-13 15:49:28 -07:00

18 lines
542 B
Diff

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