blob: 5c7fbc863a7fdbc09670a66e378941f2e25c8f46 [file] [log] [blame]
Dhruvaraj Subhashchandran3506c182020-02-18 05:28:39 -06001[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
Andrew Geisslerc3a95142021-10-27 11:12:55 -05009After=start_host@%i.service
Adriana Kobylakbbb53392022-02-14 21:15:48 +000010After=openpower-update-bios-attr-table.service
Dhruvaraj Subhashchandran3506c182020-02-18 05:28:39 -060011Conflicts=obmc-host-stop@%i.target
12ConditionPathExists=/run/openbmc/mpreboot@%i
13
14[Service]
Adriana Kobylakbbb53392022-02-14 21:15:48 +000015@ENABLE_PHAL_TRUE@Environment="PDBG_DTB=@CEC_DEVTREE_RW_PATH@"
Zane Shelley634dd5d2022-04-12 16:16:32 -050016ExecStart=/bin/systemctl restart attn_handler.service
Dhruvaraj Subhashchandran5e9a59f2020-03-17 12:49:17 -050017ExecStart=/bin/rm -f /run/openbmc/mpreboot@%i
Dhruvaraj Subhashchandran3506c182020-02-18 05:28:39 -060018ExecStart=/usr/bin/openpower-proc-control startHostMpReboot
19Type=oneshot
20RemainAfterExit=yes
21
22[Install]
23WantedBy=obmc-host-startmin@%i.target