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 |
Michael Tritz | fbd81be | 2017-08-15 14:07:23 -0500 | [diff] [blame] | 9 | ExecStart=/usr/bin/env phosphor-mapper \ |
Brad Bishop | f8a7cd1 | 2017-07-09 23:41:49 -0400 | [diff] [blame] | 10 | --path_namespaces="${{MAPPER_NAMESPACES}}" \ |
Brad Bishop | 6b10fd5 | 2018-10-22 18:34:58 -0400 | [diff] [blame] | 11 | --interface_namespaces="${{MAPPER_INTERFACES}}" |
Michael Tritz | fbd81be | 2017-08-15 14:07:23 -0500 | [diff] [blame] | 12 | SyslogIdentifier=phosphor-mapper |
Brad Bishop | c2e93ce | 2016-08-25 22:36:30 -0400 | [diff] [blame] | 13 | BusName={BUSNAME} |
Adriana Kobylak | 33809de | 2016-06-24 16:14:08 -0500 | [diff] [blame] | 14 | TimeoutStartSec=300 |
Brad Bishop | f8a7cd1 | 2017-07-09 23:41:49 -0400 | [diff] [blame] | 15 | EnvironmentFile={envfiledir}/obmc/mapper |
Brad Bishop | bcdc060 | 2016-06-28 18:21:00 -0400 | [diff] [blame] | 16 | Environment="PYTHONUNBUFFERED=1" |
Brad Bishop | ce08674 | 2015-10-27 17:12:45 -0400 | [diff] [blame] | 17 | |
18 | [Install] | ||||
Brad Bishop | c2e93ce | 2016-08-25 22:36:30 -0400 | [diff] [blame] | 19 | WantedBy={SYSTEMD_DEFAULT_TARGET} |