blob: af5646e7f5974371d648a96b105dd84e23ecfdfa [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
Andrew Geissler6a133ab2020-01-31 14:13:06 -06008Conflicts=obmc-host-startmin@%i.target
9ConditionPathExists=/sys/class/fsi-master/fsi0/slave@00:00/cfam_id
Andrew Geisslerf7f3f4a2020-10-12 10:19:22 -050010ConditionPathExists=!/run/openbmc/mpreboot@%i
Andrew Geissler6a133ab2020-01-31 14:13:06 -060011
12[Service]
13RemainAfterExit=yes
14Type=oneshot
Andrew Geisslerea0fb6f2021-01-08 12:53:43 -060015TimeoutStartSec=10
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