summaryrefslogtreecommitdiff
path: root/meta-ibm/recipes-phosphor/chassis/power-workarounds/witherspoon/power-workarounds@.service
blob: 3bd1287ee7c04723f0603e48f263547a0cb8348b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[Unit]
Description=Perform power workarounds on VRMs
Wants=ir35221-on-unbind@%i.service
After=ir35221-on-unbind@%i.service
Before=avsbus-disable@%i.service
Before=obmc-power-on@%i.target
Conflicts=obmc-chassis-poweroff@%i.target
ConditionPathExists=!/run/openbmc/chassis@%i-on

[Service]
ExecStart=/usr/bin/env power-workarounds.sh
SyslogIdentifier=power-workarounds.sh
Type=oneshot
RemainAfterExit=yes

[Install]
WantedBy=obmc-chassis-poweron@%i.target