blob: af5646e7f5974371d648a96b105dd84e23ecfdfa [file] [log] [blame]
[Unit]
Description=Stop instructions for host%i
Wants=obmc-host-stop-pre@%i.target
After=obmc-host-stop-pre@%i.target
Wants=obmc-host-stopping@%i.target
Before=obmc-host-stopping@%i.target
After=op-occ-disable@%i.service
Conflicts=obmc-host-startmin@%i.target
ConditionPathExists=/sys/class/fsi-master/fsi0/slave@00:00/cfam_id
ConditionPathExists=!/run/openbmc/mpreboot@%i
[Service]
RemainAfterExit=yes
Type=oneshot
TimeoutStartSec=10
ExecStart=/usr/bin/openpower-proc-control threadStopAll
[Install]
WantedBy=obmc-host-stop@%i.target