commit | 06734f31fd193c689f8e513b86b6969300c5715b | [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 | 08dd6cf966c67d9fbb00a20c58f5a95c46c4f2fd | |
parent | a9d1c837846a9c91cd114428be4a4db311c32990 [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/meta-phosphor/common/recipes-phosphor/sensors/phosphor-hwmon/xyz.openbmc_project.Hwmon@.service b/meta-phosphor/common/recipes-phosphor/sensors/phosphor-hwmon/xyz.openbmc_project.Hwmon@.service index a59349d..a091f1a 100644 --- a/meta-phosphor/common/recipes-phosphor/sensors/phosphor-hwmon/xyz.openbmc_project.Hwmon@.service +++ b/meta-phosphor/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