blob: 35475673f90ddf4ca84d00a343a7f3b77dc57079 [file] [log] [blame]
Matt Spinlerd4cf3a32016-12-20 10:59:13 -06001[Unit]
2Description=Enable the AVS bus on VRMs
3Wants=vrm-control@%i.service
4After=vrm-control@%i.service
5Before=vcs_off@%i.service
Andrew Geissler2e5b4752017-01-30 11:19:55 -06006Conflicts=obmc-power-chassis-off@%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]
10ExecStart={bindir}/avsbus-enable.sh
11Type=oneshot
12RemainAfterExit=yes
13
14[Install]
Andrew Geissler2e5b4752017-01-30 11:19:55 -060015WantedBy=obmc-power-chassis-on@%i.target