mtce-control: Add hbsAgent service file
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
This commit is contained in:
parent
3be6453ca4
commit
50998b89de
meta-stx-flock/stx-metal
@ -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
|
||||
|
@ -7,7 +7,7 @@ index d05177d..13443d0 100644
|
||||
|
||||
DAEMON_NAME="hbsAgent"
|
||||
-DAEMON="/usr/local/bin/${DAEMON_NAME}"
|
||||
+DAEMON="${bindir}/${DAEMON_NAME}"
|
||||
+DAEMON="/usr/bin/${DAEMON_NAME}"
|
||||
PIDFILE="/var/run/${DAEMON_NAME}.pid"
|
||||
|
||||
VIRT_TOOL='virt-what'
|
||||
|
@ -8,6 +8,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
|
||||
|
||||
SRC_URI += "file://0001-mtce-control-dont-install-empty-directory-unless-nee.patch;striplevel=3 \
|
||||
file://mtce-control-fix-hardcoded-path-for-hbsAgent.patch;striplevel=3 \
|
||||
file://mtce-control-adjust-unit-file-paths.patch;striplevel=3 \
|
||||
"
|
||||
|
||||
RDEPENDS_${PN}_append = " \
|
||||
|
Loading…
x
Reference in New Issue
Block a user