blob: 74d8e4bfcf9da7bb30a00cdb727b811dd6e9aff9 [file] [log] [blame]
Matt Spinlerd4cf3a32016-12-20 10:59:13 -06001[Unit]
Andrew Geisslere3836fe2017-07-28 15:50:00 -05002Description=Perform power workarounds on VRMs
Matt Spinlereecf1c22017-12-05 15:25:53 -06003Wants=ir35221-on-unbind@%i.service
4After=ir35221-on-unbind@%i.service
Matt Spinlerd4cf3a32016-12-20 10:59:13 -06005Before=avsbus-disable@%i.service
Josh D. King5df2fe92017-04-06 14:43:46 -05006Conflicts=obmc-chassis-poweroff@%i.target
Andrew Geissler27183512017-03-02 16:25:43 -06007ConditionPathExists=!/run/openbmc/chassis@%i-on
Matt Spinlerd4cf3a32016-12-20 10:59:13 -06008
9[Service]
Michael Tritzbc3818e2017-08-15 14:07:23 -050010ExecStart=/usr/bin/env power-workarounds.sh
11SyslogIdentifier=power-workarounds.sh
Matt Spinlerd4cf3a32016-12-20 10:59:13 -060012Type=oneshot
13RemainAfterExit=yes
14
15[Install]
Josh D. King5df2fe92017-04-06 14:43:46 -050016WantedBy=obmc-chassis-poweron@%i.target