Andrew Geissler | 6a133ab | 2020-01-31 14:13:06 -0600 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Stop instructions for host%i |
| 3 | Wants=obmc-host-stop-pre@%i.target |
Andrew Geissler | ec6a1b5 | 2020-10-29 14:18:56 -0500 | [diff] [blame] | 4 | After=obmc-host-stop-pre@%i.target |
| 5 | Wants=obmc-host-stopping@%i.target |
| 6 | Before=obmc-host-stopping@%i.target |
Andrew Geissler | 6a133ab | 2020-01-31 14:13:06 -0600 | [diff] [blame] | 7 | After=op-occ-disable@%i.service |
Andrew Geissler | 6a133ab | 2020-01-31 14:13:06 -0600 | [diff] [blame] | 8 | Conflicts=obmc-host-startmin@%i.target |
| 9 | ConditionPathExists=/sys/class/fsi-master/fsi0/slave@00:00/cfam_id |
Andrew Geissler | f7f3f4a | 2020-10-12 10:19:22 -0500 | [diff] [blame] | 10 | ConditionPathExists=!/run/openbmc/mpreboot@%i |
Andrew Geissler | 6a133ab | 2020-01-31 14:13:06 -0600 | [diff] [blame] | 11 | |
| 12 | [Service] |
| 13 | RemainAfterExit=yes |
| 14 | Type=oneshot |
Andrew Geissler | ea0fb6f | 2021-01-08 12:53:43 -0600 | [diff] [blame] | 15 | TimeoutStartSec=10 |
Jayanth Othayoth | 871c12b | 2021-12-05 22:58:42 -0600 | [diff] [blame] | 16 | ExecStart=/usr/bin/openpower-proc-control threadStopAll |
Andrew Geissler | 6a133ab | 2020-01-31 14:13:06 -0600 | [diff] [blame] | 17 | |
| 18 | [Install] |
| 19 | WantedBy=obmc-host-stop@%i.target |