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 | cb6e19d | 2017-04-11 07:34:11 -0500 | [diff] [blame] | 3 | # TODO: openbmc/openbmc#1274 |
| 4 | #Wants=mapper-wait@-xyz-openbmc_project-control-host%i.service |
| 5 | #After=mapper-wait@-xyz-openbmc_project-control-host%i.service |
Andrew Geissler | 3a20659 | 2017-03-23 12:48:06 -0500 | [diff] [blame] | 6 | Wants=obmc-host-reset-running@%i.target |
| 7 | Before=obmc-host-reset-running@%i.target |
| 8 | Wants=op-reset-chassis-on@%i.service |
| 9 | After=op-reset-chassis-on@%i.service |
Josh D. King | 3c7a8ef | 2017-04-11 09:48:10 -0500 | [diff] [blame] | 10 | Conflicts=obmc-host-shutdown@%i.target |
Andrew Geissler | 3a20659 | 2017-03-23 12:48:06 -0500 | [diff] [blame] | 11 | ConditionPathExists=/run/openbmc/chassis@%i-on |
| 12 | |
| 13 | [Service] |
| 14 | RemainAfterExit=yes |
| 15 | Type=oneshot |
| 16 | ExecStart=/bin/sh -c "echo TODO - Check Host Status on BMC Reset" |
| 17 | |
| 18 | |
| 19 | [Install] |
| 20 | WantedBy=obmc-host-reset@%i.target |