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 | 2d02ee8 | 2019-01-14 15:42:09 -0600 | [diff] [blame] | 3 | Wants=phosphor-ipmi-host.service |
| 4 | After=phosphor-ipmi-host.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 |
Andrew Geissler | 59b78bf | 2017-05-15 17:04:46 -0500 | [diff] [blame] | 9 | Conflicts=obmc-host-stop@%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 |
Michael Tritz | fbd81be | 2017-08-15 14:07:23 -0500 | [diff] [blame] | 15 | ExecStart=/usr/bin/env phosphor-host-check |
| 16 | SyslogIdentifier=phosphor-host-check |
Andrew Geissler | 3a20659 | 2017-03-23 12:48:06 -0500 | [diff] [blame] | 17 | |
| 18 | [Install] |
| 19 | WantedBy=obmc-host-reset@%i.target |