blob: 27f231d431996f803c37760ffb6ff637a7808d71 [file] [log] [blame]
Sergey Solomin5f3ad792016-11-11 08:19:58 -06001[Unit]
2Description=Disable VCS before Witherspoon power on
3Wants=obmc-power-start-pre@%i.target
4Before=obmc-power-start-pre@%i.target
Josh D. King5df2fe92017-04-06 14:43:46 -05005Conflicts=obmc-chassis-poweroff@%i.target
Andrew Geissler27183512017-03-02 16:25:43 -06006ConditionPathExists=!/run/openbmc/chassis@%i-on
Sergey Solomin5f3ad792016-11-11 08:19:58 -06007
8[Service]
Michael Tritzbc3818e2017-08-15 14:07:23 -05009ExecStart=/usr/bin/env vcs_off.sh
10SyslogIdentifier=vcs_off.sh
Sergey Solomin5f3ad792016-11-11 08:19:58 -060011Type=oneshot
12RemainAfterExit=yes
13
14[Install]
Josh D. King5df2fe92017-04-06 14:43:46 -050015WantedBy=obmc-chassis-poweron@%i.target