Andrew Geissler | 6a133ab | 2020-01-31 14:13:06 -0600 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Stop instructions for host%i |
Andrew Geissler | ec6a1b5 | 2020-10-29 14:18:56 -0500 | [diff] [blame] | 3 | After=obmc-host-stop-pre@%i.target |
Andrew Geissler | ec6a1b5 | 2020-10-29 14:18:56 -0500 | [diff] [blame] | 4 | Before=obmc-host-stopping@%i.target |
Andrew Geissler | 6a133ab | 2020-01-31 14:13:06 -0600 | [diff] [blame] | 5 | After=op-occ-disable@%i.service |
Adriana Kobylak | bbb5339 | 2022-02-14 21:15:48 +0000 | [diff] [blame] | 6 | After=openpower-update-bios-attr-table.service |
Andrew Geissler | 6a133ab | 2020-01-31 14:13:06 -0600 | [diff] [blame] | 7 | Conflicts=obmc-host-startmin@%i.target |
| 8 | ConditionPathExists=/sys/class/fsi-master/fsi0/slave@00:00/cfam_id |
Andrew Geissler | f7f3f4a | 2020-10-12 10:19:22 -0500 | [diff] [blame] | 9 | ConditionPathExists=!/run/openbmc/mpreboot@%i |
Andrew Geissler | 6a133ab | 2020-01-31 14:13:06 -0600 | [diff] [blame] | 10 | |
| 11 | [Service] |
| 12 | RemainAfterExit=yes |
| 13 | Type=oneshot |
Jayanth Othayoth | ae663a0 | 2022-06-01 06:33:47 -0500 | [diff] [blame] | 14 | TimeoutStartSec=20 |
Ben Tyner | 7fe1aba | 2022-08-30 09:50:27 -0500 | [diff] [blame] | 15 | ExecStart=/bin/sh -c 'systemctl stop attn_handler.service || true' |
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 |