summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Geissler <andrewg@us.ibm.com>2017-03-01 12:53:51 -0600
committerPatrick Williams <patrick@stwcx.xyz>2017-03-15 13:31:26 +0000
commit2cb34aee8ddc51b2408280fc8ea7d1496f15dd91 (patch)
tree849f24d1f42be574bd23e93add6dbf36535152ab
parent6b945f4f8e90f75b457a06fbb37df3660a0a8170 (diff)
downloadtalos-openbmc-2cb34aee8ddc51b2408280fc8ea7d1496f15dd91.tar.gz
talos-openbmc-2cb34aee8ddc51b2408280fc8ea7d1496f15dd91.zip
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 <andrewg@us.ibm.com>
-rw-r--r--meta-phosphor/common/recipes-phosphor/mboxd/mboxd/mboxd-reload@.service2
1 files changed, 2 insertions, 0 deletions
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
OpenPOWER on IntegriCloud