blob: 00a6c980438b17e0d08cff229e4611ba1afd3780 [file] [log] [blame]
[Unit]
Description=Continue mp reboot on host%i
After=obmc-host-start-pre@%i.target
Wants=obmc-host-starting@%i.target
Before=obmc-host-starting@%i.target
Before=obmc-host-started@%i.target
Wants=obmc-power-on@%i.target
After=obmc-power-on@%i.target
Conflicts=obmc-host-stop@%i.target
ConditionPathExists=/run/openbmc/mpreboot@%i
[Service]
@ENABLE_PHAL_TRUE@Environment="PDBG_DTB=/var/lib/phosphor-software-manager/pnor/rw/DEVTREE"
ExecStart=/bin/rm -f /run/openbmc/mpreboot@%i
ExecStart=/usr/bin/openpower-proc-control startHostMpReboot
Type=oneshot
RemainAfterExit=yes
[Install]
WantedBy=obmc-host-startmin@%i.target