commit | b83bb2bed5db227483af4fa22563ddc66760a344 | [log] [tgz] |
---|---|---|
author | James Feist <james.feist@linux.intel.com> | Fri May 31 12:31:23 2019 -0700 |
committer | James Feist <james.feist@linux.intel.com> | Mon Jun 03 18:25:00 2019 +0000 |
tree | 10d4283f40deb26fe17cb2d4b34ded41e351d669 | |
parent | 58295adae0b61ffa230a80d2719bd5068360f98e [diff] [blame] |
adcsensor: Add CPU presence checking This adds a match to catch cpu presence coming from cpusensor. Tested: ipmitool sensor list no longer showed ADCs that monitored unavailable CPU Change-Id: I39c067e5da3565c5b229cc19ed4ccf7767c1e85c Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/service_files/xyz.openbmc_project.adcsensor.service b/service_files/xyz.openbmc_project.adcsensor.service index 666ff16..536b318 100644 --- a/service_files/xyz.openbmc_project.adcsensor.service +++ b/service_files/xyz.openbmc_project.adcsensor.service
@@ -1,6 +1,7 @@ [Unit] Description=Adc Sensor StopWhenUnneeded=false +Before=xyz.openbmc_project.cpusensor.service [Service] Restart=always