phosphor-mapper: switch to c++ mapper
This patchset includes the set of patches required to build and use
the c++ version of the mapper.
Change-Id: If1cd31a866517acce172f7ce60f067899e2fd0f8
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/recipes-phosphor/dbus/phosphor-mapper/xyz.openbmc_project.ObjectMapper.service b/recipes-phosphor/dbus/phosphor-mapper/xyz.openbmc_project.ObjectMapper.service
index 8787c6e..5e34814 100644
--- a/recipes-phosphor/dbus/phosphor-mapper/xyz.openbmc_project.ObjectMapper.service
+++ b/recipes-phosphor/dbus/phosphor-mapper/xyz.openbmc_project.ObjectMapper.service
@@ -6,15 +6,15 @@
[Service]
Restart=always
Type=dbus
-ExecStart=/usr/bin/env phosphor-mapper \
- --service_namespaces="${{MAPPER_SERVICES}}" \
- --interface_namespaces="${{MAPPER_INTERFACES}}" \
- --service_blacklists="${{MAPPER_SERVICEBLACKLISTS}}"
+ExecStart=/usr/bin/env mapperx \
+ --service-namespaces="${{MAPPER_SERVICES}}" \
+ --interface-namespaces="${{MAPPER_INTERFACES}}" \
+ --service-blacklists="${{MAPPER_SERVICEBLACKLISTS}}"
SyslogIdentifier=phosphor-mapper
BusName={BUSNAME}
TimeoutStartSec=300
+RestartSec=5
EnvironmentFile={envfiledir}/obmc/mapper
-Environment="PYTHONUNBUFFERED=1"
[Install]
WantedBy={SYSTEMD_DEFAULT_TARGET}