| [Unit] |
| Description=Start Host%i |
| After=obmc-host-start-pre@%i.target |
| Wants=obmc-host-start@%i.target |
| Before=obmc-host-start@%i.target |
| Before=obmc-host-started@%i.target |
| Wants=obmc-power-on@%i.target |
| After=obmc-power-on@%i.target |
| Wants=mapper-wait@-org-openbmc-control-host%i.service |
| After=mapper-wait@-org-openbmc-control-host%i.service |
| Conflicts=obmc-chassis-stop@%i.target |
| ConditionPathExists=!/run/openbmc/host@%i-on |
| |
| [Service] |
| Type=oneshot |
| RemainAfterExit=yes |
| ExecStart={sbindir}/mapper call /org/openbmc/control/host%i org.openbmc.control.Host boot |
| |
| [Install] |
| WantedBy=obmc-chassis-start@%i.target |