blob: 16b83c0cb11faca639c38a1d4a1f94398a0153e3 [file] [log] [blame]
Brad Bishop3c90f592016-08-08 08:53:13 -04001[Unit]
2Description=Wait for Power%i to turn on
3Before=obmc-power-on@%i.target
4Wants=obmc-power-start@%i.target
5Before=obmc-power-start@%i.target
6Wants=mapper-wait@-org-openbmc-control-power%i.service
7After=mapper-wait@-org-openbmc-control-power%i.service
8Conflicts=obmc-chassis-stop@%i.target
9
10[Service]
11Type=oneshot
12RemainAfterExit=yes
13ExecStart={sbindir}/pgood_wait /org/openbmc/control/power%i on
14
15[Install]
16WantedBy=obmc-chassis-start@%i.target