Andrew Geissler | 579c8e0 | 2017-03-07 13:47:23 -0600 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Start chassis%i on after BMC reset |
Josh D. King | f7de631 | 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 | 579c8e0 | 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 | f7de631 | 2017-05-18 09:33:36 -0500 | [diff] [blame] | 7 | ConditionPathExists=/run/openbmc/chassis@%i-on |
Andrew Geissler | 579c8e0 | 2017-03-07 13:47:23 -0600 | [diff] [blame] | 8 | |
| 9 | [Service] |
| 10 | RemainAfterExit=no |
Josh D. King | b9ee536 | 2017-04-06 14:43:46 -0500 | [diff] [blame] | 11 | ExecStart=/bin/systemctl start obmc-chassis-poweron@%i.target |
Andrew Geissler | 579c8e0 | 2017-03-07 13:47:23 -0600 | [diff] [blame] | 12 | |
| 13 | |
| 14 | [Install] |
Andrew Geissler | dd08ef0 | 2017-05-09 15:24:41 -0500 | [diff] [blame] | 15 | WantedBy=obmc-chassis-powerreset@%i.target |