blob: 36fb0a891db3d91d004de492ff32800d7311ce4e [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
Andrew Geissler6a133ab2020-01-31 14:13:06 -060016# TODO - Replace with official istep stopinstructions once available
17ExecStart=/usr/bin/pdbg -a stop
Andrew Geissler6a133ab2020-01-31 14:13:06 -060018
19[Install]
20WantedBy=obmc-host-stop@%i.target