blob: df8383274694dde8413b4c70e2ec3c410d6d31e1 [file] [log] [blame]
Brad Bishop3c90f592016-08-08 08:53:13 -04001[Unit]
2Description=Wait for Power%i to turn on
Andrew Geissler7773d932020-09-17 13:34:42 -05003Wants=obmc-power-start-pre@%i.target
4After=obmc-power-start-pre@%i.target
Brad Bishop3c90f592016-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
Josh D. Kingb57615e2017-04-06 14:43:46 -05009Conflicts=obmc-chassis-poweroff@%i.target
Andrew Geisslerc4bb5fa2017-03-02 16:25:43 -060010ConditionPathExists=!/run/openbmc/chassis@%i-on
Brad Bishop3c90f592016-08-08 08:53:13 -040011
12[Service]
13Type=oneshot
14RemainAfterExit=yes
Michael Tritzfbd81be2017-08-15 14:07:23 -050015ExecStart=/usr/bin/env pgood_wait /org/openbmc/control/power%i on
16SyslogIdentifier=pgood_wait
Dhruvaraj Sa0b2e552017-03-23 05:18:44 -050017TimeoutSec=30
Brad Bishop3c90f592016-08-08 08:53:13 -040018
19[Install]
Josh D. Kinga283e072017-04-06 15:56:37 -050020WantedBy=obmc-host-start@%i.target