blob: 24e5f175f881f4ce00c1bc50cf39fddaebefbb3a [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]
Michael Tritzbc3818e2017-08-15 14:07:23 -050011ExecStart=/usr/bin/env vcs_on.sh
12SyslogIdentifier=vcs_on.sh
Sergey Solomin633a58d2016-11-14 09:06:33 -060013Type=oneshot
14RemainAfterExit=yes
15
16[Install]
Josh D. King5df2fe92017-04-06 14:43:46 -050017WantedBy=obmc-chassis-poweron@%i.target