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 |
Andrew Geissler | a40a24c | 2022-09-26 13:15:57 -0500 | [diff] [blame] | 8 | Conflicts=obmc-chassis-poweron@%i.target |
Andrew Geissler | 6a133ab | 2020-01-31 14:13:06 -0600 | [diff] [blame] | 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 |
Jayanth Othayoth | ae663a0 | 2022-06-01 06:33:47 -0500 | [diff] [blame] | 15 | TimeoutStartSec=20 |
Ben Tyner | 7fe1aba | 2022-08-30 09:50:27 -0500 | [diff] [blame] | 16 | ExecStart=/bin/sh -c 'systemctl stop attn_handler.service || true' |
Jayanth Othayoth | 871c12b | 2021-12-05 22:58:42 -0600 | [diff] [blame] | 17 | ExecStart=/usr/bin/openpower-proc-control threadStopAll |
Andrew Geissler | 6a133ab | 2020-01-31 14:13:06 -0600 | [diff] [blame] | 18 | |
| 19 | [Install] |
Andrew Geissler | 933bee7 | 2023-05-09 11:10:38 -0500 | [diff] [blame^] | 20 | #WantedBy=obmc-host-stop@%i.target |