Andrew Geissler | 3a20659 | 2017-03-23 12:48:06 -0500 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Check Host%i status on BMC reset |
Andrew Geissler | a94faf4 | 2017-05-08 15:58:01 -0500 | [diff] [blame] | 3 | Wants=mapper-wait@-xyz-openbmc_project-control-host%i.service |
| 4 | After=mapper-wait@-xyz-openbmc_project-control-host%i.service |
Andrew Geissler | 3a20659 | 2017-03-23 12:48:06 -0500 | [diff] [blame] | 5 | Wants=obmc-host-reset-running@%i.target |
| 6 | Before=obmc-host-reset-running@%i.target |
| 7 | Wants=op-reset-chassis-on@%i.service |
| 8 | After=op-reset-chassis-on@%i.service |
Josh D. King | 3c7a8ef | 2017-04-11 09:48:10 -0500 | [diff] [blame] | 9 | Conflicts=obmc-host-shutdown@%i.target |
Andrew Geissler | 3a20659 | 2017-03-23 12:48:06 -0500 | [diff] [blame] | 10 | ConditionPathExists=/run/openbmc/chassis@%i-on |
| 11 | |
| 12 | [Service] |
| 13 | RemainAfterExit=yes |
| 14 | Type=oneshot |
Andrew Geissler | a94faf4 | 2017-05-08 15:58:01 -0500 | [diff] [blame] | 15 | ExecStart=/usr/sbin/phosphor-host-check |
Andrew Geissler | 3a20659 | 2017-03-23 12:48:06 -0500 | [diff] [blame] | 16 | |
| 17 | |
| 18 | [Install] |
| 19 | WantedBy=obmc-host-reset@%i.target |