blob: 69fb1e21243700cd52ad693c9eabba1c5b25770c [file] [log] [blame]
Brad Bishopce086742015-10-27 17:12:45 -04001[Unit]
Brad Bishopf51b3a02016-08-25 22:41:39 -04002Description=Phosphor DBus Service Discovery Manager
Brad Bishope94b9152016-08-08 20:21:44 -04003Before=obmc-mapper.target
Andrew Geisslerca734e72018-07-20 09:13:15 -07004After=dbus.service
Brad Bishopce086742015-10-27 17:12:45 -04005
6[Service]
Nan Li2d343522016-01-27 10:28:34 +08007Restart=always
Brad Bishopce086742015-10-27 17:12:45 -04008Type=dbus
Michael Tritzfbd81be2017-08-15 14:07:23 -05009ExecStart=/usr/bin/env phosphor-mapper \
Brad Bishopf8a7cd12017-07-09 23:41:49 -040010 --path_namespaces="${{MAPPER_NAMESPACES}}" \
Brad Bishop385c63f2018-10-22 20:48:49 -040011 --service_namespaces="${{MAPPER_SERVICES}}" \
12 --interface_namespaces="${{MAPPER_INTERFACES}}" \
13 --service_blacklists="${{MAPPER_SERVICEBLACKLISTS}}"
Michael Tritzfbd81be2017-08-15 14:07:23 -050014SyslogIdentifier=phosphor-mapper
Brad Bishopc2e93ce2016-08-25 22:36:30 -040015BusName={BUSNAME}
Adriana Kobylak33809de2016-06-24 16:14:08 -050016TimeoutStartSec=300
Brad Bishopf8a7cd12017-07-09 23:41:49 -040017EnvironmentFile={envfiledir}/obmc/mapper
Brad Bishopbcdc0602016-06-28 18:21:00 -040018Environment="PYTHONUNBUFFERED=1"
Brad Bishopce086742015-10-27 17:12:45 -040019
20[Install]
Brad Bishopc2e93ce2016-08-25 22:36:30 -040021WantedBy={SYSTEMD_DEFAULT_TARGET}