diff options
author | Gunnar Mills <gmills@us.ibm.com> | 2018-01-29 04:48:02 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-02-13 03:23:04 +0300 |
commit | 26faac974012bed17ca31f2078df7f5289e63fef (patch) | |
tree | 063e30b6f5eab943b9e3d112a067ad52a9863b64 /meta-phosphor | |
parent | b547eff26d1c834453dccce8b5d1339eb233a41a (diff) | |
download | openbmc-26faac974012bed17ca31f2078df7f5289e63fef.tar.xz |
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')
-rw-r--r-- | meta-phosphor/common/recipes-phosphor/sensors/obmc-mgr-sensor/org.openbmc.Sensors.service | 2 |
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 |