summaryrefslogtreecommitdiff
path: root/meta-phosphor/common/recipes-phosphor/watchdog
diff options
context:
space:
mode:
authorWilliam A. Kennington III <wak@google.com>2018-05-09 00:56:55 +0300
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-05-29 23:37:01 +0300
commit375f7b2fadbc8438a92af37741d24d7d8362a16b (patch)
treeb01bda16b87f930bd0a2bbccc730193b2307e928 /meta-phosphor/common/recipes-phosphor/watchdog
parent78fa5d643bc80698ea28850de18cccb308864a26 (diff)
downloadopenbmc-375f7b2fadbc8438a92af37741d24d7d8362a16b.tar.xz
phosphor-watchdog: Continue after performing action
In the past, expiry of the phosphor-watchdog meant that some type of reset action was peformed on the machine and the phosphor-watchdog would be restarted during the reset process. Now that we support multiple actions and allow the timer to expire for the NONE action, this assumption is no longer true. If a NONE watchdog expires the daemon will die and the watchdog will no longer be armable. Fix this using the continue option of the phosphor-watchdog to continue servicing watchdog requests after expiry. Change-Id: I8428087e7c98d49ebd80bbc7b7d5f4225dff7ffd Signed-off-by: William A. Kennington III <wak@google.com>
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor/watchdog')
-rw-r--r--meta-phosphor/common/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-watchdog@.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-watchdog@.service b/meta-phosphor/common/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-watchdog@.service
index 942611ef4f..52c1290256 100644
--- a/meta-phosphor/common/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-watchdog@.service
+++ b/meta-phosphor/common/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-watchdog@.service
@@ -4,5 +4,5 @@ Description=Phosphor %I watchdog
[Service]
Restart=no
EnvironmentFile={envfiledir}/obmc/watchdog/%I
-ExecStart=/usr/bin/env phosphor-watchdog --service=${{SERVICE}} --path=${{DEVPATH}} --target=${{TARGET}}
+ExecStart=/usr/bin/env phosphor-watchdog --continue --service=${{SERVICE}} --path=${{DEVPATH}} --target=${{TARGET}}
SyslogIdentifier=phosphor-watchdog