| [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 |