xref: /openbmc/openpower-proc-control/service_files/op-continue-mpreboot@.service.in (revision bbb53393c5e2eb2ad4d3ef8401f8481732b84ed0)
1[Unit]
2Description=Continue mp reboot on host%i
3After=obmc-host-start-pre@%i.target
4Wants=obmc-host-starting@%i.target
5Before=obmc-host-starting@%i.target
6Before=obmc-host-started@%i.target
7Wants=obmc-power-on@%i.target
8After=obmc-power-on@%i.target
9After=start_host@%i.service
10After=openpower-update-bios-attr-table.service
11Conflicts=obmc-host-stop@%i.target
12ConditionPathExists=/run/openbmc/mpreboot@%i
13
14[Service]
15@ENABLE_PHAL_TRUE@Environment="PDBG_DTB=@CEC_DEVTREE_RW_PATH@"
16ExecStart=/bin/rm -f /run/openbmc/mpreboot@%i
17ExecStart=/usr/bin/openpower-proc-control startHostMpReboot
18Type=oneshot
19RemainAfterExit=yes
20
21[Install]
22WantedBy=obmc-host-startmin@%i.target
23