summaryrefslogtreecommitdiff
path: root/meta-phosphor/common/recipes-phosphor/dbus/phosphor-mapper/xyz.openbmc_project.ObjectMapper.service
blob: 820a42b07a4d785b9fe066de701de148f6d5cca6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[Unit]
Description=Phosphor DBus Service Discovery Manager
Before=obmc-mapper.target

[Service]
Restart=always
Type=dbus
ExecStart=/usr/bin/env phosphor-mapper \
        --path_namespaces="${{MAPPER_NAMESPACES}}" \
        --interface_namespaces="${{MAPPER_INTERFACES}}" \
        --blacklists="${{MAPPER_BLACKLISTS}}" \
        --interface_blacklists="${{MAPPER_INTERFACEBLACKLISTS}}"
SyslogIdentifier=phosphor-mapper
BusName={BUSNAME}
TimeoutStartSec=300
EnvironmentFile={envfiledir}/obmc/mapper
Environment="PYTHONUNBUFFERED=1"

[Install]
WantedBy={SYSTEMD_DEFAULT_TARGET}