summaryrefslogtreecommitdiffstats
path: root/man/sd_notify.xml
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-06-28 00:24:36 +0200
committerLennart Poettering <lennart@poettering.net>2012-06-28 00:24:49 +0200
commitdac051ad6893dcf3e1a69d40eea02682220e71d4 (patch)
tree25d5eeb29ba05f8ec1520c987c55c5399d05112e /man/sd_notify.xml
parentmodules-load: fix return value (diff)
downloadsystemd-dac051ad6893dcf3e1a69d40eea02682220e71d4.tar.xz
systemd-dac051ad6893dcf3e1a69d40eea02682220e71d4.zip
man: extend watchdog docs a bit
Diffstat (limited to 'man/sd_notify.xml')
-rw-r--r--man/sd_notify.xml19
1 files changed, 13 insertions, 6 deletions
diff --git a/man/sd_notify.xml b/man/sd_notify.xml
index eb449555cb..a91c1bb4bf 100644
--- a/man/sd_notify.xml
+++ b/man/sd_notify.xml
@@ -156,12 +156,19 @@
<term>WATCHDOG=1</term>
<listitem><para>Tells systemd to
- update the watchdog timestamp.
- Services using this feature should do
- this in regular intervals. A watchdog
- framework can use the timestamps to
- detect failed
- services.</para></listitem>
+ update the watchdog timestamp. This is
+ the keep-alive ping that services need
+ to issue in regular intervals if
+ <varname>WatchdogSec=</varname> is
+ enabled for it. See
+ <citerefentry><refentrytitle>systemd.service</refentrytitle><manvolnum>5</manvolnum></citerefentry>
+ for details. It is recommended to send
+ this message if the
+ <varname>WATCHDOG_USEC=</varname>
+ environment variable has been set for
+ the service process, in every half the
+ time interval that is specified in the
+ variable.</para></listitem>
</varlistentry>
</variablelist>