blob: 045529849ef231d52ae0397d16c1b2728d5720d5 [file] [log] [blame]
[Unit]
Description=Start memory preserving reboot host%i
Wants=obmc-host-stopped@%i.target
After=obmc-host-stopped@%i.target
Before=op-stop-instructions@%i.service
After=phosphor-reset-sensor-states@%i.service
Before=phosphor-reboot-host@%i.service
Conflicts=obmc-host-startmin@%i.target
[Service]
@ENABLE_PHAL_TRUE@Environment="PDBG_DTB=/var/lib/phosphor-software-manager/pnor/rw/DEVTREE"
RemainAfterExit=yes
Type=oneshot
ExecStart=/usr/bin/openpower-proc-control enterMpReboot
ExecStart=/bin/mkdir -p /run/openbmc/
ExecStart=/bin/touch /run/openbmc/mpreboot@%i
[Install]
WantedBy=obmc-host-diagnostic-mode@%i.target