blob: c5cc9d6580f645eee49626fb47451dc69cf9f34b [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]
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