Sergey Solomin | 633a58d | 2016-11-14 09:06:33 -0600 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Turn VCS on |
Xo Wang | f363f88 | 2016-12-15 14:20:41 -0800 | [diff] [blame] | 3 | Wants=vcs_workaround@%i.service |
| 4 | After=vcs_workaround@%i.service |
| 5 | Wants=obmc-host-start-pre@%i.target |
| 6 | Before=obmc-host-start-pre@%i.target |
Josh D. King | 5df2fe9 | 2017-04-06 14:43:46 -0500 | [diff] [blame] | 7 | Conflicts=obmc-chassis-poweroff@%i.target |
Andrew Geissler | 2718351 | 2017-03-02 16:25:43 -0600 | [diff] [blame] | 8 | ConditionPathExists=!/run/openbmc/chassis@%i-on |
Sergey Solomin | 633a58d | 2016-11-14 09:06:33 -0600 | [diff] [blame] | 9 | |
| 10 | [Service] |
Michael Tritz | bc3818e | 2017-08-15 14:07:23 -0500 | [diff] [blame] | 11 | ExecStart=/usr/bin/env vcs_on.sh |
| 12 | SyslogIdentifier=vcs_on.sh |
Sergey Solomin | 633a58d | 2016-11-14 09:06:33 -0600 | [diff] [blame] | 13 | Type=oneshot |
| 14 | RemainAfterExit=yes |
| 15 | |
| 16 | [Install] |
Josh D. King | 5df2fe9 | 2017-04-06 14:43:46 -0500 | [diff] [blame] | 17 | WantedBy=obmc-chassis-poweron@%i.target |