Andrew Geissler | 8e73da0 | 2021-06-23 15:43:21 -0500 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Check Host%i status on BMC reset via CFAM reg |
Andrew Geissler | 971b36d | 2021-09-01 17:00:49 -0500 | [diff] [blame] | 3 | Wants=mapper-wait@-xyz-openbmc_project-state-host%i.service |
| 4 | After=mapper-wait@-xyz-openbmc_project-state-host%i.service |
Andrew Geissler | ad1cfa5 | 2021-09-02 09:21:39 -0500 | [diff] [blame] | 5 | Wants=mapper-wait@-xyz-openbmc_project-logging.service |
| 6 | After=mapper-wait@-xyz-openbmc_project-logging.service |
Andrew Geissler | 8e73da0 | 2021-06-23 15:43:21 -0500 | [diff] [blame] | 7 | Wants=obmc-host-reset-running@%i.target |
| 8 | Before=obmc-host-reset-running@%i.target |
| 9 | Wants=op-reset-chassis-on@%i.service |
| 10 | After=op-reset-chassis-on@%i.service |
| 11 | Conflicts=obmc-host-stop@%i.target |
| 12 | ConditionPathExists=/run/openbmc/chassis@%i-on |
| 13 | ConditionPathExists=!/run/openbmc/host@%i-on |
| 14 | |
| 15 | [Service] |
| 16 | RemainAfterExit=yes |
| 17 | Type=oneshot |
| 18 | ExecStart=/usr/bin/openpower-proc-control checkHostRunning |
| 19 | |
| 20 | [Install] |
| 21 | WantedBy=obmc-host-reset@%i.target |