summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-phosphor/sensors
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2016-08-25 22:36:30 -0400
committerPatrick Williams <patrick@stwcx.xyz>2016-09-13 18:08:12 +0000
commitfd1a57c0c07916bcaa97804af5cc2b573fe3cd24 (patch)
treed5fa3308564318491521072ca8cd1620689344d1 /meta-phosphor/common/recipes-phosphor/sensors
parent997e7367d0917e91910386b83737e1cece7c058e (diff)
downloadtalos-openbmc-fd1a57c0c07916bcaa97804af5cc2b573fe3cd24.tar.gz
talos-openbmc-fd1a57c0c07916bcaa97804af5cc2b573fe3cd24.zip
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/sensors')
-rw-r--r--meta-phosphor/common/recipes-phosphor/sensors/files/obmc-phosphor-sensord.service4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/sensors/files/obmc-phosphor-sensord.service b/meta-phosphor/common/recipes-phosphor/sensors/files/obmc-phosphor-sensord.service
index 247164feb..bf203f8b8 100644
--- a/meta-phosphor/common/recipes-phosphor/sensors/files/obmc-phosphor-sensord.service
+++ b/meta-phosphor/common/recipes-phosphor/sensors/files/obmc-phosphor-sensord.service
@@ -3,7 +3,7 @@ Description=Phosphor OpenBMC sensor management daemon
[Service]
Restart=always
-ExecStart=/usr/sbin/obmc-phosphor-sensord
+ExecStart={sbindir}/obmc-phosphor-sensord
[Install]
-WantedBy=multi-user.target
+WantedBy={SYSTEMD_DEFAULT_TARGET}
OpenPOWER on IntegriCloud