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 |
| 12 | |
| 13 | [Service] |
| 14 | Type=oneshot |
| 15 | RemainAfterExit=yes |
| 16 | ExecStart={sbindir}/mapper call /org/openbmc/control/host%i org.openbmc.control.Host boot |
| 17 | |
| 18 | [Install] |
| 19 | WantedBy=obmc-chassis-start@%i.target |