host-stop: ensure soft off is run in correct seq
The flow of synchronization targets during a obmc-host-stop@.target is
the following:
obmc-host-stop-pre -> obmc-host-stopping -> obmc-host-stopped
The obmc-host-stop-pre is where we notify the host that a shutdown is
occurring and allow it to gracefully shut itself down. This is where
pldmSoftPowerOff.service should run.
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I909e69effa18f05df99da3cc3e9026064f1e0e7b
diff --git a/softoff/services/pldmSoftPowerOff.service b/softoff/services/pldmSoftPowerOff.service
index 80960cd..e6afd8a 100644
--- a/softoff/services/pldmSoftPowerOff.service
+++ b/softoff/services/pldmSoftPowerOff.service
@@ -2,8 +2,8 @@
Description=PLDM soft power off app
Wants=pldmd.service
After=pldmd.service
-Wants=obmc-host-stopping@0.target
-Before=obmc-host-stopping@0.target
+Wants=obmc-host-stop-pre@0.target
+Before=obmc-host-stop-pre@0.target
Conflicts=obmc-host-start@0.target
[Service]