Correct PLDM service name
There is no service "xyz.openbmc_project.PLDM.service"
The correct service should be pldmd.service.
systemd[1]: /lib/systemd/system/org.open_power.OCC.Control.service:7: Failed to add dependency on xyz.openbmc_project.PLDM, ignoring: Invalid argument
Tested on p10bmc:
Issued: systemctl daemon-reload
and verified error disappeared.
Change-Id: Ie6f7baaeeee829b672641fd7a218037e3c7409db
Signed-off-by: Chris Cain <cjcain@us.ibm.com>
diff --git a/service_files/org.open_power.OCC.Control.service b/service_files/org.open_power.OCC.Control.service
index 05e5f81..5b5110a 100644
--- a/service_files/org.open_power.OCC.Control.service
+++ b/service_files/org.open_power.OCC.Control.service
@@ -6,8 +6,7 @@
After=obmc-host-reset-running@0.target
Wants=xyz.openbmc_project.Logging.service
After=xyz.openbmc_project.Logging.service
-Wants=xyz.openbmc_project.PLDM.service
-After=xyz.openbmc_project.PLDM.service
+After=pldmd.service
[Service]
ExecStart=/usr/bin/openpower-occ-control