blob: a1fc316c2196c7ea4459020fa26b7cb96fdadba0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
[Unit]
Description=Wait for Host%i to turn on
Wants=mapper-wait@-xyz-openbmc_project-Chassis-Control-Power%i.service
After=mapper-wait@-xyz-openbmc_project-Chassis-Control-Power%i.service
After=intel-wait-power-on@%i.service
Conflicts=obmc-chassis-poweroff@%i.target
ConditionPathExists=!/run/openbmc/host@%i-on
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/intel-wait-host-on.sh
ExecStartPost=/bin/sh -c "mkdir -p /run/openbmc/ && touch /run/openbmc/host@%i-on"
SyslogIdentifier=intel-wait-host-on
TimeoutSec=30
[Install]
RequiredBy=obmc-host-startmin@%i.target
|