host-check: ensure runs after pldmd service starts
The PLDM service now may provide a
xyz.openbmc_project.Condition.HostFirmware interface. This After clause
ensures that if it is present and started on the system then this
host-check service will run after it is up and providing the interface.
Tested:
- Verified that this app now waits for pldmd to be started when pldmd is
present on a system
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I3ee714a25696e47c172655824d4f11847544edf6
diff --git a/service_files/phosphor-reset-host-check@.service b/service_files/phosphor-reset-host-check@.service
index ec3b6bd..19b217e 100644
--- a/service_files/phosphor-reset-host-check@.service
+++ b/service_files/phosphor-reset-host-check@.service
@@ -1,6 +1,7 @@
[Unit]
Description=Check Host%i status on BMC reset
After=phosphor-ipmi-host.service
+After=pldmd.service
Wants=obmc-host-reset-running@%i.target
Before=obmc-host-reset-running@%i.target
Wants=op-reset-chassis-on@%i.service