blob: 181026c2b482ec3b8b1a4a1cd29228490d505254 [file] [log] [blame]
[Unit]
Description=Turn VCS on
Wants=vcs_workaround@%i.service
After=vcs_workaround@%i.service
Wants=obmc-host-start-pre@%i.target
Before=obmc-host-start-pre@%i.target
Conflicts=obmc-power-chassis-off@%i.target
ConditionPathExists=!/run/openbmc/chassis@%i-on
[Service]
ExecStart={bindir}/vcs_on.sh
Type=oneshot
RemainAfterExit=yes
[Install]
WantedBy=obmc-power-chassis-on@%i.target