summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorMinkyung <kmk3210@gmail.com>2016-06-22 20:26:05 +0900
committerLennart Poettering <lennart@poettering.net>2016-06-22 13:26:05 +0200
commit2787d83c28b7565ea6f80737170514e5e6186917 (patch)
tree78910bf9c24cdccf67e34d2a1200d207f0890eef /man
parent5cd118bab0c6f2f87236959b2a68098c5ba95c2e (diff)
watchdog: Support changing watchdog_usec during runtime (#3492)
Add sd_notify() parameter to change watchdog_usec during runtime. Application can change watchdog_usec value by sd_notify like this. Example. sd_notify(0, "WATCHDOG_USEC=20000000"). To reset watchdog_usec as configured value in service file, restart service. Notice. sd_event is not currently supported. If application uses sd_event_set_watchdog, or sd_watchdog_enabled, do not use "WATCHDOG_USEC" option through sd_notify.
Diffstat (limited to 'man')
-rw-r--r--man/sd_notify.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/man/sd_notify.xml b/man/sd_notify.xml
index bd6cfdcd29..025fbec6c1 100644
--- a/man/sd_notify.xml
+++ b/man/sd_notify.xml
@@ -250,6 +250,15 @@
restrictions, it is ignored.</para></listitem>
</varlistentry>
+ <varlistentry>
+ <term>WATCHDOG_USEC=...</term>
+
+ <listitem><para>Reset <varname>watchdog_usec</varname> value during runtime.
+ Notice that this is not available when using <function>sd_event_set_watchdog()</function>
+ or <function>sd_watchdog_enabled()</function>.
+ Example : <literal>WATCHDOG_USEC=20000000</literal></para></listitem>
+ </varlistentry>
+
</variablelist>
<para>It is recommended to prefix variable names that are not