Sync w/ updated power control interfaces
setPowerState/getPowerState methods are removed.
all properties are removed except PGood and State.
return value of forcePowerOff is changed to bool from int32
TestBy:
Ipmi command and click buttons
Change-Id: I0b5e51cea959594acf04257c566893da6ffe7d26
Signed-off-by: Kuiying Wang <kuiying.wang@intel.com>
diff --git a/power-control/service-files/obmc-host-stop@.target b/power-control/service-files/obmc-host-stop@.target
index df371b9..5178e83 100644
--- a/power-control/service-files/obmc-host-stop@.target
+++ b/power-control/service-files/obmc-host-stop@.target
@@ -1,7 +1,7 @@
[Unit]
Description=Stop Host%i
-Wants={SYSTEMD_DEFAULT_TARGET}
-After={SYSTEMD_DEFAULT_TARGET}
+Wants=obmc-standby.target
+After=obmc-standby.target
Wants=mapper-wait@-xyz-openbmc_project-Chassis-Control-Power%i.service
After=mapper-wait@-xyz-openbmc_project-Chassis-Control-Power%i.service
Conflicts=obmc-host-startmin@%i.target