summaryrefslogtreecommitdiff
path: root/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/avsbus-control/swift/avsbus-disable@.service
blob: fbab180ce6dfe947ba51dd7bb51aaf8825da7a4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=Disable the AVS bus on the VRMs
Before=vrm-control@%i.service
Conflicts=obmc-chassis-poweroff@%i.target
ConditionPathExists=!/run/openbmc/chassis@%i-on

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

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