blob: 3eccecb9d5bdc736d2348c5db3b6cbe33f2c75c8 [file] [log] [blame]
Brad Bishop7e164be2016-08-08 08:53:13 -04001[Unit]
2Description=Wait for Power%i to turn on
Andrew Geissler51fb15e2020-09-17 13:34:42 -05003Wants=obmc-power-start-pre@%i.target
4After=obmc-power-start-pre@%i.target
Brad Bishop7e164be2016-08-08 08:53:13 -04005Wants=obmc-power-start@%i.target
6Before=obmc-power-start@%i.target
7Wants=mapper-wait@-org-openbmc-control-power%i.service
8After=mapper-wait@-org-openbmc-control-power%i.service
Jim Wright2223e142022-04-29 11:24:33 -05009After=op-power-start@%i.service
Josh D. Kingb9ee5362017-04-06 14:43:46 -050010Conflicts=obmc-chassis-poweroff@%i.target
Andrew Geisslerb8c47702017-03-02 16:25:43 -060011ConditionPathExists=!/run/openbmc/chassis@%i-on
Brad Bishop7e164be2016-08-08 08:53:13 -040012
13[Service]
14Type=oneshot
15RemainAfterExit=yes
Michael Tritz0ad3b1d2017-08-15 14:07:23 -050016ExecStart=/usr/bin/env pgood_wait /org/openbmc/control/power%i on
17SyslogIdentifier=pgood_wait
Dhruvaraj S5a3d0d22017-03-23 05:18:44 -050018TimeoutSec=30
Brad Bishop7e164be2016-08-08 08:53:13 -040019
20[Install]
Josh D. Kingefb04a12017-04-06 15:56:37 -050021WantedBy=obmc-host-start@%i.target