1*ed1e8cacSPotin Lai[Unit]
2*ed1e8cacSPotin LaiDescription=Wait for Power%i to turn off
3*ed1e8cacSPotin LaiBefore=obmc-power-off@%i.target
4*ed1e8cacSPotin LaiWants=obmc-power-stop@%i.target
5*ed1e8cacSPotin LaiBefore=obmc-power-stop@%i.target
6*ed1e8cacSPotin LaiWants=obmc-power-stop-pre@%i.target
7*ed1e8cacSPotin LaiAfter=obmc-power-stop-pre@%i.target
8*ed1e8cacSPotin LaiConflicts=obmc-chassis-poweron@%i.target
9*ed1e8cacSPotin Lai
10*ed1e8cacSPotin Lai[Service]
11*ed1e8cacSPotin LaiType=oneshot
12*ed1e8cacSPotin LaiRemainAfterExit=yes
13*ed1e8cacSPotin Lai# This is wrong, but at least gives us something since we're not using
14*ed1e8cacSPotin Lai# skeleton.
15*ed1e8cacSPotin LaiExecStart=sleep 10
16*ed1e8cacSPotin LaiExecStart=/bin/rm -f /run/openbmc/host@%i-request
17*ed1e8cacSPotin Lai
18*ed1e8cacSPotin Lai[Install]
19*ed1e8cacSPotin LaiRequiredBy=obmc-host-stop@%i.target
20