summaryrefslogtreecommitdiff
path: root/meta-phosphor/common/recipes-phosphor/host-ipmid
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2016-08-26 05:36:30 +0300
committerPatrick Williams <patrick@stwcx.xyz>2016-09-13 21:08:12 +0300
commitfd1a57c0c07916bcaa97804af5cc2b573fe3cd24 (patch)
treed5fa3308564318491521072ca8cd1620689344d1 /meta-phosphor/common/recipes-phosphor/host-ipmid
parent997e7367d0917e91910386b83737e1cece7c058e (diff)
downloadopenbmc-fd1a57c0c07916bcaa97804af5cc2b573fe3cd24.tar.xz
Use systemd substitutions
Make use of the new substitution feature in the Phosphor systemd bitbake class. Change-Id: I2db85347809ef557a53e92af3ffcf17c8003b3ce Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor/host-ipmid')
-rw-r--r--meta-phosphor/common/recipes-phosphor/host-ipmid/btbridged/btbridged.service4
-rw-r--r--meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid/host-ipmid.service4
2 files changed, 4 insertions, 4 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/host-ipmid/btbridged/btbridged.service b/meta-phosphor/common/recipes-phosphor/host-ipmid/btbridged/btbridged.service
index ffc311078e..e032e8fc3d 100644
--- a/meta-phosphor/common/recipes-phosphor/host-ipmid/btbridged/btbridged.service
+++ b/meta-phosphor/common/recipes-phosphor/host-ipmid/btbridged/btbridged.service
@@ -3,7 +3,7 @@ Description=Phosphor OpenBMC BT to DBUS
[Service]
Restart=always
-ExecStart=/usr/sbin/btbridged
+ExecStart={sbindir}/btbridged
[Install]
-WantedBy=multi-user.target
+WantedBy={SYSTEMD_DEFAULT_TARGET}
diff --git a/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid/host-ipmid.service b/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid/host-ipmid.service
index f882880c22..dc3adaeaa7 100644
--- a/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid/host-ipmid.service
+++ b/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid/host-ipmid.service
@@ -5,7 +5,7 @@ After=clear-once.service
[Service]
Restart=always
-ExecStart=/usr/sbin/ipmid
+ExecStart={sbindir}/ipmid
[Install]
-WantedBy=multi-user.target
+WantedBy={SYSTEMD_DEFAULT_TARGET}