blob: e13a606acc2b1a3ecceb3a7f4b270f653e4a80dd [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
4Before=obmc-host-stop-pre@%i.target
5After=op-occ-disable@%i.service
6After=xyz.openbmc_project.Ipmi.Internal.SoftPowerOff.service
7Conflicts=obmc-host-startmin@%i.target
8ConditionPathExists=/sys/class/fsi-master/fsi0/slave@00:00/cfam_id
9
10[Service]
11RemainAfterExit=yes
12Type=oneshot
13# TODO - Replace with official istep stopinstructions once available
14ExecStart=/usr/bin/pdbg -a stop
Andrew Geissler6d95c452020-06-05 14:43:08 -050015ExecStart=/bin/rm -f /run/openbmc/host@%i-on
Andrew Geissler6a133ab2020-01-31 14:13:06 -060016
17[Install]
18WantedBy=obmc-host-stop@%i.target