Andrew Geissler | 6a133ab | 2020-01-31 14:13:06 -0600 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Stop instructions for host%i |
| 3 | Wants=obmc-host-stop-pre@%i.target |
| 4 | Before=obmc-host-stop-pre@%i.target |
| 5 | After=op-occ-disable@%i.service |
| 6 | After=xyz.openbmc_project.Ipmi.Internal.SoftPowerOff.service |
| 7 | Conflicts=obmc-host-startmin@%i.target |
| 8 | ConditionPathExists=/sys/class/fsi-master/fsi0/slave@00:00/cfam_id |
| 9 | |
| 10 | [Service] |
| 11 | RemainAfterExit=yes |
| 12 | Type=oneshot |
| 13 | # TODO - Replace with official istep stopinstructions once available |
| 14 | ExecStart=/usr/bin/pdbg -a stop |
Andrew Geissler | 6d95c45 | 2020-06-05 14:43:08 -0500 | [diff] [blame] | 15 | ExecStart=/bin/rm -f /run/openbmc/host@%i-on |
Andrew Geissler | 6a133ab | 2020-01-31 14:13:06 -0600 | [diff] [blame] | 16 | |
| 17 | [Install] |
| 18 | WantedBy=obmc-host-stop@%i.target |