blob: 8c4d3d3b5b2c8faf2ed18a2c3e6cecae60333a03 [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
[Install]
WantedBy=obmc-chassis-stop@%i.target