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 |
| 4 | Wants=obmc-host-start@%i.target |
| 5 | Before=obmc-host-start@%i.target |
| 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 |
| 11 | Conflicts=obmc-chassis-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] |
| 20 | WantedBy=obmc-chassis-start@%i.target |