commit | fd1a57c0c07916bcaa97804af5cc2b573fe3cd24 | [log] [tgz] |
---|---|---|
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | Thu Aug 25 22:36:30 2016 -0400 |
committer | Patrick Williams <patrick@stwcx.xyz> | Tue Sep 13 18:08:12 2016 +0000 |
tree | d5fa3308564318491521072ca8cd1620689344d1 | |
parent | 997e7367d0917e91910386b83737e1cece7c058e [diff] [blame] |
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>
diff --git a/meta-phosphor/common/recipes-phosphor/dbus/obmc-mapper/org.openbmc.ObjectMapper.service b/meta-phosphor/common/recipes-phosphor/dbus/obmc-mapper/org.openbmc.ObjectMapper.service index b397e2f..1f1e832 100644 --- a/meta-phosphor/common/recipes-phosphor/dbus/obmc-mapper/org.openbmc.ObjectMapper.service +++ b/meta-phosphor/common/recipes-phosphor/dbus/obmc-mapper/org.openbmc.ObjectMapper.service
@@ -5,10 +5,10 @@ [Service] Restart=always Type=dbus -ExecStart=/usr/sbin/phosphor-mapper -BusName=org.openbmc.ObjectMapper +ExecStart={sbindir}/phosphor-mapper +BusName={BUSNAME} TimeoutStartSec=300 Environment="PYTHONUNBUFFERED=1" [Install] -WantedBy=multi-user.target +WantedBy={SYSTEMD_DEFAULT_TARGET}