Sergey Solomin | 079dd74 | 2016-11-14 10:01:10 -0600 | [diff] [blame] | 1 | [Unit] |
Matt Spinler | 41d3c84 | 2017-03-10 15:08:56 -0600 | [diff] [blame] | 2 | Description=Start host%i SBE |
Xo Wang | db46e12 | 2016-12-15 13:59:06 -0800 | [diff] [blame] | 3 | After=obmc-host-start-pre@%i.target |
| 4 | Wants=obmc-host-start@%i.target |
| 5 | Before=obmc-host-start@%i.target |
| 6 | Before=obmc-host-started@%i.target |
| 7 | Wants=obmc-power-on@%i.target |
| 8 | After=obmc-power-on@%i.target |
Sergey Solomin | 079dd74 | 2016-11-14 10:01:10 -0600 | [diff] [blame] | 9 | Conflicts=obmc-chassis-stop@%i.target |
Andrew Geissler | 135df1e | 2017-03-22 15:03:08 -0500 | [diff] [blame^] | 10 | ConditionPathExists=!/run/openbmc/host@%i-on |
Sergey Solomin | 079dd74 | 2016-11-14 10:01:10 -0600 | [diff] [blame] | 11 | |
| 12 | [Service] |
Matt Spinler | 41d3c84 | 2017-03-10 15:08:56 -0600 | [diff] [blame] | 13 | ExecStart={sbindir}/openpower-proc-control startHost |
Sergey Solomin | 079dd74 | 2016-11-14 10:01:10 -0600 | [diff] [blame] | 14 | Type=oneshot |
| 15 | RemainAfterExit=yes |
| 16 | |
| 17 | [Install] |
| 18 | WantedBy=obmc-chassis-start@%i.target |