summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCurtis Klein <curtis.klein@hpe.com>2021-06-27 15:36:49 -0700
committerLuca Boccassi <bluca@debian.org>2022-02-22 17:19:54 +0000
commit5717062e93ec6f128188d2ef4d1399623995bc63 (patch)
treed0810c996144139af9bd4eade4b625d055d2308b /test
parentb491d74064f9d5e17a71b38b014434237169a077 (diff)
downloadsystemd-5717062e93ec6f128188d2ef4d1399623995bc63.tar.gz
watchdog: Add watchdog pretimeout support
Add support for managing and configuring watchdog pretimeout values if the watchdog hardware supports it. The ping interval is adjusted to account for a pretimeout so that it will still ping at half the timeout interval before a pretimeout event would be triggered. By default the pretimeout defaults to 0s or disabled. The RuntimeWatchdogPreSec config option is added to allow the pretimeout to be specified (similar to RuntimeWatchdogSec). The RuntimeWatchdogPreUSec dbus property is added to override the pretimeout value at runtime (similar to RuntimeWatchdogUSec). Setting the pretimeout to 0s will disable the pretimeout.
Diffstat (limited to 'test')
-rw-r--r--test/fuzz/fuzz-unit-file/directives-all.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/fuzz/fuzz-unit-file/directives-all.service b/test/fuzz/fuzz-unit-file/directives-all.service
index 3b5ea3f9e3..b1890b91fa 100644
--- a/test/fuzz/fuzz-unit-file/directives-all.service
+++ b/test/fuzz/fuzz-unit-file/directives-all.service
@@ -737,6 +737,7 @@ LogLevel=
LogLocation=
LogTarget=
RuntimeWatchdogSec=
+RuntimeWatchdogPreSec=
ShowStatus=
RebootWatchdogSec=
ShutdownWatchdogSec=