blob: 22e3f51e5df90d9352944f0b386184e407497ed2 [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
Zane Shelley634dd5d2022-04-12 16:16:32 -050015ExecStart=/bin/systemctl stop attn_handler.service
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