Brad Bishop | 3c90f59 | 2016-08-08 08:53:13 -0400 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Wait for Power%i to turn on |
| 3 | Before=obmc-power-on@%i.target |
| 4 | Wants=obmc-power-start@%i.target |
| 5 | Before=obmc-power-start@%i.target |
| 6 | Wants=mapper-wait@-org-openbmc-control-power%i.service |
| 7 | After=mapper-wait@-org-openbmc-control-power%i.service |
Andrew Geissler | fb7fa82 | 2017-01-26 08:07:15 -0600 | [diff] [blame] | 8 | Conflicts=obmc-power-chassis-off@%i.target |
Andrew Geissler | c4bb5fa | 2017-03-02 16:25:43 -0600 | [diff] [blame] | 9 | ConditionPathExists=!/run/openbmc/chassis@%i-on |
Brad Bishop | 3c90f59 | 2016-08-08 08:53:13 -0400 | [diff] [blame] | 10 | |
| 11 | [Service] |
| 12 | Type=oneshot |
| 13 | RemainAfterExit=yes |
| 14 | ExecStart={sbindir}/pgood_wait /org/openbmc/control/power%i on |
Dhruvaraj S | a0b2e55 | 2017-03-23 05:18:44 -0500 | [diff] [blame] | 15 | TimeoutSec=30 |
Brad Bishop | 3c90f59 | 2016-08-08 08:53:13 -0400 | [diff] [blame] | 16 | |
| 17 | [Install] |
| 18 | WantedBy=obmc-chassis-start@%i.target |