commit | ce1a2e14897a1c5deb614023a717f9cfd4c79475 | [log] [tgz] |
---|---|---|
author | George Hung <george.hung@quantatw.com> | Thu Jun 17 10:14:56 2021 +0800 |
committer | George Hung <george.hung@quantatw.com> | Thu Jun 17 05:36:26 2021 +0000 |
tree | 7b401cf1161fd42b6f474832de183171d32d94ae | |
parent | 1279465d764832d7343ba38717cc3f4dffea40b4 [diff] |
meta-quanta: gbs: avoid to set LED config to D-bus failed Use mapper get-service to check if each LED D-bus is ready and also make LED group service restart not too fast when the serive start failed Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Idd002e4f42d2664bc2f573a8dcc1afcfa593178a
diff --git a/meta-quanta/meta-gbs/recipes-phosphor/leds/phosphor-led-manager/service-override.conf b/meta-quanta/meta-gbs/recipes-phosphor/leds/phosphor-led-manager/service-override.conf index 0f40834..70783a8 100644 --- a/meta-quanta/meta-gbs/recipes-phosphor/leds/phosphor-led-manager/service-override.conf +++ b/meta-quanta/meta-gbs/recipes-phosphor/leds/phosphor-led-manager/service-override.conf
@@ -1,2 +1,7 @@ [Unit] StartLimitBurst=10 + +[Service] +RestartSec=3s +ExecStartPre=mapper get-service /xyz/openbmc_project/led/physical/heartbeat +ExecStartPre=mapper get-service /xyz/openbmc_project/led/physical/sys_boot_status