From 23a91f552abe48ee70e344debd8a7579844ff61a Mon Sep 17 00:00:00 2001 From: Vijay Khemka Date: Thu, 26 Dec 2019 15:29:35 -0800 Subject: meta-facebook: watchdog: fix host cycle There was a issue in power cycle command as poweron was sent immediately after poweroff where as power status didn't change so poweron command was ignored. So adding sleep of 6 sec before sending poweron. (From meta-facebook rev: 83af1046a8719f6ad44f80a2cce4f8b0dc9565f7) Change-Id: I8907643578983b8b3851523c780bc59e5528baac Signed-off-by: Vijay Khemka Signed-off-by: Brad Bishop --- .../watchdog/phosphor-watchdog/phosphor-watchdog-host-cycle.service | 1 + 1 file changed, 1 insertion(+) (limited to 'meta-facebook/meta-tiogapass') diff --git a/meta-facebook/meta-tiogapass/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-watchdog-host-cycle.service b/meta-facebook/meta-tiogapass/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-watchdog-host-cycle.service index d0580bb54..d7fc724cf 100644 --- a/meta-facebook/meta-tiogapass/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-watchdog-host-cycle.service +++ b/meta-facebook/meta-tiogapass/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-watchdog-host-cycle.service @@ -6,5 +6,6 @@ After=host-gpio.service [Service] Type=oneshot ExecStart=busctl set-property xyz.openbmc_project.State.Chassis /xyz/openbmc_project/state/chassis0 xyz.openbmc_project.State.Chassis RequestedPowerTransition s xyz.openbmc_project.State.Chassis.Transition.Off +ExecStart=sleep 6 ExecStart=busctl set-property xyz.openbmc_project.State.Chassis /xyz/openbmc_project/state/chassis0 xyz.openbmc_project.State.Chassis RequestedPowerTransition s xyz.openbmc_project.State.Chassis.Transition.On SyslogIdentifier=phosphor-watchdog -- cgit v1.2.3