summaryrefslogtreecommitdiff
path: root/man/systemd.service.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/systemd.service.xml
parent8f9c0b4cc17dc0eb24e420f9bd6f8c9534b5dd84 (diff)
man: extend watchdog docs a bit
Diffstat (limited to 'man/systemd.service.xml')
-rw-r--r--man/systemd.service.xml23
1 files changed, 13 insertions, 10 deletions
diff --git a/man/systemd.service.xml b/man/systemd.service.xml
index 233807d2b3..c57bce0ecf 100644
--- a/man/systemd.service.xml
+++ b/man/systemd.service.xml
@@ -482,26 +482,29 @@
is activated when the start-up is
completed. The service must call
<citerefentry><refentrytitle>sd_notify</refentrytitle><manvolnum>3</manvolnum></citerefentry>
- regularly with "WATCHDOG=1". If the
- time between two such calls is larger
- than the configured time then the
- service is placed in a failure
- state. By setting
- <varname>Restart=</varname>
- to <option>on-failure</option> or
+ regularly with "WATCHDOG=1" (i.e. the
+ "keep-alive ping"). If the time
+ between two such calls is larger than
+ the configured time then the service
+ is placed in a failure state. By
+ setting <varname>Restart=</varname> to
+ <option>on-failure</option> or
<option>always</option> the service
will be automatically restarted. The
time configured here will be passed to
the executed service process in the
<varname>WATCHDOG_USEC=</varname>
- environment variable. If
+ environment variable. This allows
+ daemons to automatically enable the
+ keep-alive pinging logic if watchdog
+ support is enabled for the service. If
this option is used
<varname>NotifyAccess=</varname> (see
below) should be set to open access to
the notification socket provided by
systemd. If
- <varname>NotifyAccess=</varname> is not
- set, it will be implicitly set to
+ <varname>NotifyAccess=</varname> is
+ not set, it will be implicitly set to
<option>main</option>. Defaults to 0,
which disables this
feature.</para></listitem>