diff options
author | Andrew Geissler <andrewg@us.ibm.com> | 2017-03-01 21:53:51 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-03-15 16:31:26 +0300 |
commit | 2cb34aee8ddc51b2408280fc8ea7d1496f15dd91 (patch) | |
tree | 849f24d1f42be574bd23e93add6dbf36535152ab /meta-phosphor/common/recipes-phosphor/mboxd | |
parent | 6b945f4f8e90f75b457a06fbb37df3660a0a8170 (diff) | |
download | openbmc-2cb34aee8ddc51b2408280fc8ea7d1496f15dd91.tar.xz |
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>
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor/mboxd')
-rw-r--r-- | meta-phosphor/common/recipes-phosphor/mboxd/mboxd/mboxd-reload@.service | 2 |
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 |