xref: /openbmc/openpower-proc-control/service_files/op-continue-mpreboot@.service.in (revision cb23cb2d0846bfc8e550e3fbadc683fb7b026e6c)
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/systemctl restart attn_handler.service
17ExecStart=/bin/rm -f /run/openbmc/mpreboot@%i
18ExecStart=/usr/bin/openpower-proc-control startHostMpReboot
19Type=oneshot
20RemainAfterExit=yes
21
22[Install]
23#WantedBy=obmc-host-startmin@%i.target
24