diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2016-10-05 20:10:23 -0400 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2016-10-12 03:14:42 +0000 |
commit | 12e3d60ffc692e6e79c4129a9daad45955bea54b (patch) | |
tree | bf93b6dda8a2386cc93552c6e1e19946ab00b62c /meta-phosphor/common/recipes-phosphor/dbus/phosphor-mapper | |
parent | 60cfb39a1ed41dc3764d2f23fa8cba200da719ce (diff) | |
download | talos-openbmc-12e3d60ffc692e6e79c4129a9daad45955bea54b.tar.gz talos-openbmc-12e3d60ffc692e6e79c4129a9daad45955bea54b.zip |
Rename obmc-mapper -> phosphor-mapper
To meet naming conventions.
Change-Id: I7ce975dca7c5371ff3fa503a75bbaadd8457d05b
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor/dbus/phosphor-mapper')
3 files changed, 32 insertions, 0 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/dbus/phosphor-mapper/mapper-wait@.service b/meta-phosphor/common/recipes-phosphor/dbus/phosphor-mapper/mapper-wait@.service new file mode 100644 index 000000000..d91909156 --- /dev/null +++ b/meta-phosphor/common/recipes-phosphor/dbus/phosphor-mapper/mapper-wait@.service @@ -0,0 +1,10 @@ +[Unit] +Description=Wait for %I +Wants=obmc-mapper.target +After=obmc-mapper.target + +[Service] +Type=oneshot +RemainAfterExit=yes +Restart=no +ExecStart={sbindir}/mapper wait %I diff --git a/meta-phosphor/common/recipes-phosphor/dbus/phosphor-mapper/org.openbmc.ObjectMapper.conf b/meta-phosphor/common/recipes-phosphor/dbus/phosphor-mapper/org.openbmc.ObjectMapper.conf new file mode 100644 index 000000000..9a26ab9ff --- /dev/null +++ b/meta-phosphor/common/recipes-phosphor/dbus/phosphor-mapper/org.openbmc.ObjectMapper.conf @@ -0,0 +1,8 @@ +<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" + "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> +<busconfig> + <policy user="root"> + <allow own="org.openbmc.ObjectMapper"/> + <allow send_destination="org.openbmc.ObjectMapper"/> + </policy> +</busconfig> diff --git a/meta-phosphor/common/recipes-phosphor/dbus/phosphor-mapper/org.openbmc.ObjectMapper.service b/meta-phosphor/common/recipes-phosphor/dbus/phosphor-mapper/org.openbmc.ObjectMapper.service new file mode 100644 index 000000000..5d86fcfff --- /dev/null +++ b/meta-phosphor/common/recipes-phosphor/dbus/phosphor-mapper/org.openbmc.ObjectMapper.service @@ -0,0 +1,14 @@ +[Unit] +Description=Phosphor DBus Service Discovery Manager +Before=obmc-mapper.target + +[Service] +Restart=always +Type=dbus +ExecStart={sbindir}/phosphor-mapper +BusName={BUSNAME} +TimeoutStartSec=300 +Environment="PYTHONUNBUFFERED=1" + +[Install] +WantedBy={SYSTEMD_DEFAULT_TARGET} |