blob: 8c5cfbb5d7d2a1ec83ad3420c13f88cb39c0e83a [file] [log] [blame]
Brad Bishop3c90f592016-08-08 08:53:13 -04001[Unit]
2Description=Start Host%i
3After=obmc-host-start-pre@%i.target
4Wants=obmc-host-start@%i.target
5Before=obmc-host-start@%i.target
6Before=obmc-host-started@%i.target
7Wants=obmc-power-on@%i.target
8After=obmc-power-on@%i.target
9Wants=mapper-wait@-org-openbmc-control-host%i.service
10After=mapper-wait@-org-openbmc-control-host%i.service
11Conflicts=obmc-chassis-stop@%i.target
Andrew Geisslerde073152017-03-22 15:03:08 -050012ConditionPathExists=!/run/openbmc/host@%i-on
Brad Bishop3c90f592016-08-08 08:53:13 -040013
14[Service]
15Type=oneshot
16RemainAfterExit=yes
17ExecStart={sbindir}/mapper call /org/openbmc/control/host%i org.openbmc.control.Host boot
18
19[Install]
20WantedBy=obmc-chassis-start@%i.target