blob: 06b9f6745b238716a10276b8fb2023c29542f006 [file] [log] [blame]
Andrew Geissler6a133ab2020-01-31 14:13:06 -06001[Unit]
2Description=Stop instructions for host%i
Andrew Geisslerec6a1b52020-10-29 14:18:56 -05003After=obmc-host-stop-pre@%i.target
Andrew Geisslerec6a1b52020-10-29 14:18:56 -05004Before=obmc-host-stopping@%i.target
Andrew Geissler6a133ab2020-01-31 14:13:06 -06005After=op-occ-disable@%i.service
Adriana Kobylakbbb53392022-02-14 21:15:48 +00006After=openpower-update-bios-attr-table.service
Andrew Geissler6a133ab2020-01-31 14:13:06 -06007Conflicts=obmc-host-startmin@%i.target
8ConditionPathExists=/sys/class/fsi-master/fsi0/slave@00:00/cfam_id
Andrew Geisslerf7f3f4a2020-10-12 10:19:22 -05009ConditionPathExists=!/run/openbmc/mpreboot@%i
Andrew Geissler6a133ab2020-01-31 14:13:06 -060010
11[Service]
12RemainAfterExit=yes
13Type=oneshot
Jayanth Othayothae663a02022-06-01 06:33:47 -050014TimeoutStartSec=20
Ben Tyner7fe1aba2022-08-30 09:50:27 -050015ExecStart=/bin/sh -c 'systemctl stop attn_handler.service || true'
Jayanth Othayoth871c12b2021-12-05 22:58:42 -060016ExecStart=/usr/bin/openpower-proc-control threadStopAll
Andrew Geissler6a133ab2020-01-31 14:13:06 -060017
18[Install]
19WantedBy=obmc-host-stop@%i.target