Andrew Geissler | 7dc1433 | 2017-03-07 13:47:23 -0600 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Start chassis%i on after BMC reset |
Josh D. King | c41163a | 2017-05-18 09:33:36 -0500 | [diff] [blame^] | 3 | Requires=op-reset-chassis-running@%i.service |
| 4 | After=op-reset-chassis-running@%i.service |
Andrew Geissler | 7dc1433 | 2017-03-07 13:47:23 -0600 | [diff] [blame] | 5 | After=obmc-power-reset-on@%i.target |
| 6 | Requires=obmc-power-reset-on@%i.target |
Josh D. King | c41163a | 2017-05-18 09:33:36 -0500 | [diff] [blame^] | 7 | ConditionPathExists=/run/openbmc/chassis@%i-on |
Andrew Geissler | 7dc1433 | 2017-03-07 13:47:23 -0600 | [diff] [blame] | 8 | |
| 9 | [Service] |
| 10 | RemainAfterExit=no |
Josh D. King | b57615e | 2017-04-06 14:43:46 -0500 | [diff] [blame] | 11 | ExecStart=/bin/systemctl start obmc-chassis-poweron@%i.target |
Andrew Geissler | 7dc1433 | 2017-03-07 13:47:23 -0600 | [diff] [blame] | 12 | |
| 13 | |
| 14 | [Install] |
Andrew Geissler | bc253aa | 2017-05-09 15:24:41 -0500 | [diff] [blame] | 15 | WantedBy=obmc-chassis-powerreset@%i.target |