blob: 8d4e6666ecfbc9d0a949e5bc27b9ab0e7879c391 [file] [log] [blame]
Andrew Geissler6a133ab2020-01-31 14:13:06 -06001[Unit]
2Description=Stop instructions for host%i
3Wants=obmc-host-stop-pre@%i.target
Andrew Geisslerec6a1b52020-10-29 14:18:56 -05004After=obmc-host-stop-pre@%i.target
5Wants=obmc-host-stopping@%i.target
6Before=obmc-host-stopping@%i.target
Andrew Geissler6a133ab2020-01-31 14:13:06 -06007After=op-occ-disable@%i.service
Adriana Kobylakbbb53392022-02-14 21:15:48 +00008After=openpower-update-bios-attr-table.service
Andrew Geissler6a133ab2020-01-31 14:13:06 -06009Conflicts=obmc-host-startmin@%i.target
10ConditionPathExists=/sys/class/fsi-master/fsi0/slave@00:00/cfam_id
Andrew Geisslerf7f3f4a2020-10-12 10:19:22 -050011ConditionPathExists=!/run/openbmc/mpreboot@%i
Andrew Geissler6a133ab2020-01-31 14:13:06 -060012
13[Service]
14RemainAfterExit=yes
15Type=oneshot
Jayanth Othayothae663a02022-06-01 06:33:47 -050016TimeoutStartSec=20
Jayanth Othayoth871c12b2021-12-05 22:58:42 -060017ExecStart=/usr/bin/openpower-proc-control threadStopAll
Andrew Geissler6a133ab2020-01-31 14:13:06 -060018
19[Install]
20WantedBy=obmc-host-stop@%i.target