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] |
| 11 | ExecStart={bindir}/vcs_on.sh |
| 12 | Type=oneshot |
| 13 | RemainAfterExit=yes |
| 14 | |
| 15 | [Install] |
Josh D. King | 5df2fe9 | 2017-04-06 14:43:46 -0500 | [diff] [blame] | 16 | WantedBy=obmc-chassis-poweron@%i.target |