Dhruvaraj Subhashchandran | 3506c18 | 2020-02-18 05:28:39 -0600 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Continue mp reboot on host%i |
| 3 | After=obmc-host-start-pre@%i.target |
| 4 | Wants=obmc-host-starting@%i.target |
| 5 | Before=obmc-host-starting@%i.target |
| 6 | Before=obmc-host-started@%i.target |
| 7 | Wants=obmc-power-on@%i.target |
| 8 | After=obmc-power-on@%i.target |
Andrew Geissler | c3a9514 | 2021-10-27 11:12:55 -0500 | [diff] [blame^] | 9 | After=start_host@%i.service |
Dhruvaraj Subhashchandran | 3506c18 | 2020-02-18 05:28:39 -0600 | [diff] [blame] | 10 | Conflicts=obmc-host-stop@%i.target |
| 11 | ConditionPathExists=/run/openbmc/mpreboot@%i |
| 12 | |
| 13 | [Service] |
Chirag Sharma | 4d7d6da | 2020-08-14 01:51:10 -0500 | [diff] [blame] | 14 | @ENABLE_PHAL_TRUE@Environment="PDBG_DTB=/var/lib/phosphor-software-manager/pnor/rw/DEVTREE" |
Dhruvaraj Subhashchandran | 5e9a59f | 2020-03-17 12:49:17 -0500 | [diff] [blame] | 15 | ExecStart=/bin/rm -f /run/openbmc/mpreboot@%i |
Dhruvaraj Subhashchandran | 3506c18 | 2020-02-18 05:28:39 -0600 | [diff] [blame] | 16 | ExecStart=/usr/bin/openpower-proc-control startHostMpReboot |
| 17 | Type=oneshot |
| 18 | RemainAfterExit=yes |
| 19 | |
| 20 | [Install] |
| 21 | WantedBy=obmc-host-startmin@%i.target |