summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-phosphor/sensors
diff options
context:
space:
mode:
authorGunnar Mills <gmills@us.ibm.com>2018-01-28 19:48:02 -0600
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-02-13 00:23:04 +0000
commit26faac974012bed17ca31f2078df7f5289e63fef (patch)
tree063e30b6f5eab943b9e3d112a067ad52a9863b64 /meta-phosphor/common/recipes-phosphor/sensors
parentb547eff26d1c834453dccce8b5d1339eb233a41a (diff)
downloadtalos-openbmc-26faac974012bed17ca31f2078df7f5289e63fef.tar.gz
talos-openbmc-26faac974012bed17ca31f2078df7f5289e63fef.zip
Add "after" PowerSupplyRedundancy mapper object
The org.openbmc.Sensors.service reads the value of /xyz/openbmc_project/control/power_supply_redundancy when starting to determine the value of /xyz/openbmc_project/sensors/chassis/PowerSupplyRedundancy. This happens in sensors.py. Change-Id: If594a4986ebffd0811a8a76002739bd0022ca767 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor/sensors')
-rw-r--r--meta-phosphor/common/recipes-phosphor/sensors/obmc-mgr-sensor/org.openbmc.Sensors.service2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/sensors/obmc-mgr-sensor/org.openbmc.Sensors.service b/meta-phosphor/common/recipes-phosphor/sensors/obmc-mgr-sensor/org.openbmc.Sensors.service
index b9da01e03..cc5933838 100644
--- a/meta-phosphor/common/recipes-phosphor/sensors/obmc-mgr-sensor/org.openbmc.Sensors.service
+++ b/meta-phosphor/common/recipes-phosphor/sensors/obmc-mgr-sensor/org.openbmc.Sensors.service
@@ -1,5 +1,7 @@
[Unit]
Description=Phosphor Sensor Manager
+Wants=mapper-wait@-xyz-openbmc_project-control-power_supply_redundancy.service
+After=mapper-wait@-xyz-openbmc_project-control-power_supply_redundancy.service
[Service]
Restart=always
OpenPOWER on IntegriCloud