blob: 46e413eef6b284adcf7009daa3ba20f0d4fea25d [file] [log] [blame]
[Unit]
Description=Wait for Power%i to turn off
Before=obmc-power-off@%i.target
Wants=obmc-power-stop@%i.target
Before=obmc-power-stop@%i.target
Wants=mapper-wait@-org-openbmc-control-power%i.service
After=mapper-wait@-org-openbmc-control-power%i.service
Conflicts=obmc-power-chassis-on@%i.target
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart={sbindir}/pgood_wait /org/openbmc/control/power%i off
ExecStart=/bin/rm -f /run/openbmc/chassis@%i-on
[Install]
WantedBy=obmc-chassis-stop@%i.target