blob: 8787c6ee78341b17c8e1371f1c7d8c393427dcdb [file] [log] [blame]
Brad Bishop83254dc2015-10-27 17:12:45 -04001[Unit]
Brad Bishop8f6c2ca2016-08-25 22:41:39 -04002Description=Phosphor DBus Service Discovery Manager
Brad Bishope3060732016-08-08 20:21:44 -04003Before=obmc-mapper.target
Andrew Geissleraad617f2018-07-20 09:13:15 -07004After=dbus.service
Brad Bishop83254dc2015-10-27 17:12:45 -04005
6[Service]
Nan Lid0921602016-01-27 10:28:34 +08007Restart=always
Brad Bishop83254dc2015-10-27 17:12:45 -04008Type=dbus
Michael Tritz0ad3b1d2017-08-15 14:07:23 -05009ExecStart=/usr/bin/env phosphor-mapper \
Brad Bishop4f045d02018-10-22 20:48:49 -040010 --service_namespaces="${{MAPPER_SERVICES}}" \
11 --interface_namespaces="${{MAPPER_INTERFACES}}" \
12 --service_blacklists="${{MAPPER_SERVICEBLACKLISTS}}"
Michael Tritz0ad3b1d2017-08-15 14:07:23 -050013SyslogIdentifier=phosphor-mapper
Brad Bishopfd1a57c2016-08-25 22:36:30 -040014BusName={BUSNAME}
Adriana Kobylakc13be612016-06-24 16:14:08 -050015TimeoutStartSec=300
Brad Bishop2ad7ce32017-07-09 23:41:49 -040016EnvironmentFile={envfiledir}/obmc/mapper
Brad Bishop801ddbd2016-06-28 18:21:00 -040017Environment="PYTHONUNBUFFERED=1"
Brad Bishop83254dc2015-10-27 17:12:45 -040018
19[Install]
Brad Bishopfd1a57c2016-08-25 22:36:30 -040020WantedBy={SYSTEMD_DEFAULT_TARGET}