summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-phosphor/watchdog
diff options
context:
space:
mode:
authorAndrew Geissler <geissonator@yahoo.com>2021-06-04 17:13:46 +0300
committerPatrick Williams <patrick@stwcx.xyz>2021-06-05 15:57:14 +0300
commit07b0f0f6ca9bfe4a4f28d8bf7e7c4464b514a989 (patch)
tree7e0f99888fb5af9f697885024d5aa3df39c6d849 /meta-phosphor/recipes-phosphor/watchdog
parentab992941fb61bde7a4ec87b33141206c6542311b (diff)
downloadopenbmc-07b0f0f6ca9bfe4a4f28d8bf7e7c4464b514a989.tar.xz
watchdog: utilize new default_interval parameter
Commit fb9869ff introduced the concept of passing in a default interval timeout to the watchdog application on startup. This utilized the existing --min_interval option. This worked ok but it limited the ability of external users to reduce the interval. Give the above limitation, a new feature was added to phosphor-watchdog which allows the user to explicitly set the default interval on startup in the following commit: https://github.com/openbmc/phosphor-watchdog/commit/afc369ad548137a5fdb0bc69b6606e2aafa7182b Utilize this new parameter to set the default interval on startup. Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: Ia21dc7bb9dec50f3ec044c6d1733a54bcea15298
Diffstat (limited to 'meta-phosphor/recipes-phosphor/watchdog')
-rw-r--r--meta-phosphor/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-watchdog@.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-phosphor/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-watchdog@.service b/meta-phosphor/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-watchdog@.service
index 1f6590256..e559d9fab 100644
--- a/meta-phosphor/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-watchdog@.service
+++ b/meta-phosphor/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-watchdog@.service
@@ -4,4 +4,4 @@ Description=Phosphor %I watchdog
[Service]
Restart=no
EnvironmentFile={envfiledir}/obmc/watchdog/%I
-ExecStart=/usr/bin/phosphor-watchdog --continue --service=${{SERVICE}} --path=${{DEVPATH}} --target=${{TARGET}} --min_interval=${{TIMEOUT_IN_MSEC}}
+ExecStart=/usr/bin/phosphor-watchdog --continue --service=${{SERVICE}} --path=${{DEVPATH}} --target=${{TARGET}} --default_interval=${{TIMEOUT_IN_MSEC}}