commit | e4a9b072e42b2bbac9c594da4bbc82119c95e8f2 | [log] [tgz] |
---|---|---|
author | Andrew Geissler <andrewg@us.ibm.com> | Wed Jul 26 17:55:30 2017 -0500 |
committer | Andrew Geissler <andrewg@us.ibm.com> | Wed Jul 26 17:55:30 2017 -0500 |
tree | 5ba176c282b340a92de7d6cf048660b05a2d52eb | |
parent | 28c4df21bd8383db75555a9bb6776c28ca4c1d7b [diff] |
Ensure hwmon doesn't start before object mapper available Resolves openbmc/openbmc#2029 Change-Id: I978ddbeb773d22c77d4ee164b61c9f6fb15252bb Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
diff --git a/common/recipes-phosphor/sensors/phosphor-hwmon/xyz.openbmc_project.Hwmon@.service b/common/recipes-phosphor/sensors/phosphor-hwmon/xyz.openbmc_project.Hwmon@.service index a59349d..a091f1a 100644 --- a/common/recipes-phosphor/sensors/phosphor-hwmon/xyz.openbmc_project.Hwmon@.service +++ b/common/recipes-phosphor/sensors/phosphor-hwmon/xyz.openbmc_project.Hwmon@.service
@@ -2,6 +2,7 @@ Description=Phosphor Hwmon Poller ConditionFileNotEmpty=/etc/default/obmc/hwmon/%I.conf StopWhenUnneeded=true +After=xyz.openbmc_project.ObjectMapper.service [Service] Restart=always