commit | a06304b02fa5c4cd9f576a2191994a8259900cba | [log] [tgz] |
---|---|---|
author | Yuxiao Zhang <yuxiaozhang@google.com> | Mon Sep 16 11:01:48 2024 -0700 |
committer | Yuxiao Zhang <yuxiaozhang@google.com> | Mon Sep 16 19:46:12 2024 +0000 |
tree | 95d781e3ed9bf20c4a897c933e379d732f169878 | |
parent | 3a5c9f3a023b073395f20493d67dd76218f0080e [diff] [blame] |
bare-metal-gpio-monitor: don't start on non-bm mode This adds a condition check for the bm flag. So that the service will not take effect on non-bm mode. Change-Id: I0d15247a6e05aa5edf93468793cd74bd7d9ea158 Signed-off-by: Yuxiao Zhang <yuxiaozhang@google.com>
diff --git a/subprojects/bare-metal-host-monitor/host-gpio-monitor.service.in b/subprojects/bare-metal-host-monitor/host-gpio-monitor.service.in index 3da5f1d..a0bee9e 100644 --- a/subprojects/bare-metal-host-monitor/host-gpio-monitor.service.in +++ b/subprojects/bare-metal-host-monitor/host-gpio-monitor.service.in
@@ -1,5 +1,6 @@ [Unit] Description=gBMC bare-metal GPIO monitoring +ConditionPathExists=/var/google/config-package/enable-bm.flag After=phosphor-ipmi-host.service [Service]