blob: 797db67cb11ac023e775ac8237484893517f6394 [file] [log] [blame]
Sergey Solomin633a58d2016-11-14 09:06:33 -06001[Unit]
2Description=Turn VCS on
Xo Wangf363f882016-12-15 14:20:41 -08003Wants=vcs_workaround@%i.service
4After=vcs_workaround@%i.service
5Wants=obmc-host-start-pre@%i.target
6Before=obmc-host-start-pre@%i.target
Josh D. King5df2fe92017-04-06 14:43:46 -05007Conflicts=obmc-chassis-poweroff@%i.target
Andrew Geissler27183512017-03-02 16:25:43 -06008ConditionPathExists=!/run/openbmc/chassis@%i-on
Sergey Solomin633a58d2016-11-14 09:06:33 -06009
10[Service]
11ExecStart={bindir}/vcs_on.sh
12Type=oneshot
13RemainAfterExit=yes
14
15[Install]
Josh D. King5df2fe92017-04-06 14:43:46 -050016WantedBy=obmc-chassis-poweron@%i.target