Brad Bishop | 7e164be | 2016-08-08 08:53:13 -0400 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Wait for Power%i to turn on |
Andrew Geissler | 51fb15e | 2020-09-17 13:34:42 -0500 | [diff] [blame] | 3 | Wants=obmc-power-start-pre@%i.target |
| 4 | After=obmc-power-start-pre@%i.target |
Brad Bishop | 7e164be | 2016-08-08 08:53:13 -0400 | [diff] [blame] | 5 | Wants=obmc-power-start@%i.target |
| 6 | Before=obmc-power-start@%i.target |
| 7 | Wants=mapper-wait@-org-openbmc-control-power%i.service |
| 8 | After=mapper-wait@-org-openbmc-control-power%i.service |
Jim Wright | 2223e14 | 2022-04-29 11:24:33 -0500 | [diff] [blame] | 9 | After=op-power-start@%i.service |
Josh D. King | b9ee536 | 2017-04-06 14:43:46 -0500 | [diff] [blame] | 10 | Conflicts=obmc-chassis-poweroff@%i.target |
Andrew Geissler | b8c4770 | 2017-03-02 16:25:43 -0600 | [diff] [blame] | 11 | ConditionPathExists=!/run/openbmc/chassis@%i-on |
Brad Bishop | 7e164be | 2016-08-08 08:53:13 -0400 | [diff] [blame] | 12 | |
| 13 | [Service] |
| 14 | Type=oneshot |
| 15 | RemainAfterExit=yes |
Michael Tritz | 0ad3b1d | 2017-08-15 14:07:23 -0500 | [diff] [blame] | 16 | ExecStart=/usr/bin/env pgood_wait /org/openbmc/control/power%i on |
| 17 | SyslogIdentifier=pgood_wait |
Dhruvaraj S | 5a3d0d2 | 2017-03-23 05:18:44 -0500 | [diff] [blame] | 18 | TimeoutSec=30 |
Brad Bishop | 7e164be | 2016-08-08 08:53:13 -0400 | [diff] [blame] | 19 | |
| 20 | [Install] |
Josh D. King | efb04a1 | 2017-04-06 15:56:37 -0500 | [diff] [blame] | 21 | WantedBy=obmc-host-start@%i.target |