blob: c9d1a7c5c52ebcccb2a40ff7dc56d26aa1eb5e71 [file] [log] [blame]
Brad Bishop3c90f592016-08-08 08:53:13 -04001[Unit]
2Description=Start Host%i
3After=obmc-host-start-pre@%i.target
Josh D. Kinga283e072017-04-06 15:56:37 -05004Wants=obmc-host-starting@%i.target
5Before=obmc-host-starting@%i.target
Brad Bishop3c90f592016-08-08 08:53:13 -04006Before=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
Josh D. Kinga283e072017-04-06 15:56:37 -050011Conflicts=obmc-host-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]
Josh D. Kinga283e072017-04-06 15:56:37 -050020WantedBy=obmc-host-start@%i.target