Brad Bishop | 3c90f59 | 2016-08-08 08:53:13 -0400 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Start Host%i |
| 3 | After=obmc-host-start-pre@%i.target |
Josh D. King | a283e07 | 2017-04-06 15:56:37 -0500 | [diff] [blame] | 4 | Wants=obmc-host-starting@%i.target |
| 5 | Before=obmc-host-starting@%i.target |
Brad Bishop | 3c90f59 | 2016-08-08 08:53:13 -0400 | [diff] [blame] | 6 | Before=obmc-host-started@%i.target |
| 7 | Wants=obmc-power-on@%i.target |
| 8 | After=obmc-power-on@%i.target |
| 9 | Wants=mapper-wait@-org-openbmc-control-host%i.service |
| 10 | After=mapper-wait@-org-openbmc-control-host%i.service |
Josh D. King | a283e07 | 2017-04-06 15:56:37 -0500 | [diff] [blame] | 11 | Conflicts=obmc-host-stop@%i.target |
Andrew Geissler | de07315 | 2017-03-22 15:03:08 -0500 | [diff] [blame] | 12 | ConditionPathExists=!/run/openbmc/host@%i-on |
Brad Bishop | 3c90f59 | 2016-08-08 08:53:13 -0400 | [diff] [blame] | 13 | |
| 14 | [Service] |
| 15 | Type=oneshot |
| 16 | RemainAfterExit=yes |
| 17 | ExecStart={sbindir}/mapper call /org/openbmc/control/host%i org.openbmc.control.Host boot |
| 18 | |
| 19 | [Install] |
Josh D. King | a283e07 | 2017-04-06 15:56:37 -0500 | [diff] [blame] | 20 | WantedBy=obmc-host-start@%i.target |