1[Unit] 2Description=Start memory preserving reboot host%i 3Wants=obmc-host-stop-pre@%i.target 4After=obmc-host-stop-pre@%i.target 5Wants=obmc-host-stopping@%i.target 6Before=obmc-host-stopping@%i.target 7Before=op-stop-instructions@%i.service 8After=phosphor-reset-sensor-states@%i.service 9Before=phosphor-reboot-host@%i.service 10Conflicts=obmc-host-startmin@%i.target 11 12[Service] 13@ENABLE_PHAL_TRUE@Environment="PDBG_DTB=/var/lib/phosphor-software-manager/pnor/rw/DEVTREE" 14RemainAfterExit=yes 15Type=oneshot 16ExecStart=/usr/bin/openpower-proc-control enterMpReboot 17ExecStart=/bin/mkdir -p /run/openbmc/ 18ExecStart=/bin/touch /run/openbmc/mpreboot@%i 19ExecStart=/bin/sh -c "busctl set-property xyz.openbmc_project.State.Host /xyz/openbmc_project/state/host%i xyz.openbmc_project.State.Host RestartCause s xyz.openbmc_project.State.Host.RestartCause.HostCrash" 20 21[Install] 22WantedBy=obmc-host-diagnostic-mode@%i.target 23