From 2cb34aee8ddc51b2408280fc8ea7d1496f15dd91 Mon Sep 17 00:00:00 2001 From: Andrew Geissler Date: Wed, 1 Mar 2017 12:53:51 -0600 Subject: Add delay after running mboxd reload The previous temporary fix for openbmc/openbmc#1045 was lost when the code moved over to the new host state code to issue reboots on the watchdog timeout. Now that the new code is in, the software is now guranteed to run this service which means it can simply put the delay in the service file. Change-Id: Ie713f1291072d3a35d721b5a4c911d7baf756d4b Signed-off-by: Andrew Geissler --- meta-phosphor/common/recipes-phosphor/mboxd/mboxd/mboxd-reload@.service | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-phosphor/common/recipes-phosphor/mboxd/mboxd/mboxd-reload@.service b/meta-phosphor/common/recipes-phosphor/mboxd/mboxd/mboxd-reload@.service index c8c648457..32cdd8085 100644 --- a/meta-phosphor/common/recipes-phosphor/mboxd/mboxd/mboxd-reload@.service +++ b/meta-phosphor/common/recipes-phosphor/mboxd/mboxd/mboxd-reload@.service @@ -8,6 +8,8 @@ Conflicts=obmc-power-chassis-on@%i.target Type=oneshot RemainAfterExit=yes ExecStart=/usr/bin/killall -HUP mboxd +# TODO: openbmc/openbmc#1045 - mboxd reload workaround +ExecStart=/bin/sleep 10 [Install] WantedBy=obmc-power-chassis-off@%i.target -- cgit v1.2.1