Brad Bishop | ce08674 | 2015-10-27 17:12:45 -0400 | [diff] [blame] | 1 | [Unit] |
Brad Bishop | f51b3a0 | 2016-08-25 22:41:39 -0400 | [diff] [blame] | 2 | Description=Phosphor DBus Service Discovery Manager |
Brad Bishop | e94b915 | 2016-08-08 20:21:44 -0400 | [diff] [blame] | 3 | Before=obmc-mapper.target |
Andrew Geissler | ca734e7 | 2018-07-20 09:13:15 -0700 | [diff] [blame] | 4 | After=dbus.service |
Brad Bishop | ce08674 | 2015-10-27 17:12:45 -0400 | [diff] [blame] | 5 | |
| 6 | [Service] |
Nan Li | 2d34352 | 2016-01-27 10:28:34 +0800 | [diff] [blame] | 7 | Restart=always |
Brad Bishop | ce08674 | 2015-10-27 17:12:45 -0400 | [diff] [blame] | 8 | Type=dbus |
Matt Spinler | 940ede4 | 2018-09-19 15:20:31 -0500 | [diff] [blame] | 9 | ExecStart=/usr/bin/env mapperx \ |
| 10 | --service-namespaces="${{MAPPER_SERVICES}}" \ |
| 11 | --interface-namespaces="${{MAPPER_INTERFACES}}" \ |
| 12 | --service-blacklists="${{MAPPER_SERVICEBLACKLISTS}}" |
Michael Tritz | fbd81be | 2017-08-15 14:07:23 -0500 | [diff] [blame] | 13 | SyslogIdentifier=phosphor-mapper |
Brad Bishop | c2e93ce | 2016-08-25 22:36:30 -0400 | [diff] [blame] | 14 | BusName={BUSNAME} |
Adriana Kobylak | 33809de | 2016-06-24 16:14:08 -0500 | [diff] [blame] | 15 | TimeoutStartSec=300 |
Matt Spinler | 940ede4 | 2018-09-19 15:20:31 -0500 | [diff] [blame] | 16 | RestartSec=5 |
Brad Bishop | f8a7cd1 | 2017-07-09 23:41:49 -0400 | [diff] [blame] | 17 | EnvironmentFile={envfiledir}/obmc/mapper |
Brad Bishop | ce08674 | 2015-10-27 17:12:45 -0400 | [diff] [blame] | 18 | |
| 19 | [Install] |
Brad Bishop | c2e93ce | 2016-08-25 22:36:30 -0400 | [diff] [blame] | 20 | WantedBy={SYSTEMD_DEFAULT_TARGET} |