Andrew Geissler | 86a1ebf | 2022-11-10 15:58:30 -0600 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Start chassis%i on after BMC reset |
| 3 | Requires=phosphor-reset-chassis-running@%i.service |
| 4 | After=phosphor-reset-chassis-running@%i.service |
| 5 | After=obmc-power-reset-on@%i.target |
| 6 | Requires=obmc-power-reset-on@%i.target |
| 7 | ConditionPathExists=/run/openbmc/chassis@%i-on |
| 8 | |
| 9 | [Service] |
| 10 | RemainAfterExit=no |
| 11 | ExecStart=/bin/systemctl start obmc-chassis-poweron@%i.target |
Andrew Geissler | 69a250d | 2022-11-10 16:23:04 -0600 | [diff] [blame] | 12 | SyslogIdentifier=phosphor-reset-chassis-on |
Andrew Geissler | 86a1ebf | 2022-11-10 15:58:30 -0600 | [diff] [blame] | 13 | |
| 14 | [Install] |
| 15 | WantedBy=obmc-chassis-powerreset@%i.target |