summaryrefslogtreecommitdiff
path: root/man/systemd.service.xml
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-02-08 21:24:41 +0100
committerLennart Poettering <lennart@poettering.net>2012-02-08 21:24:41 +0100
commite8ab3ccba4232825dd5a54f8516ce42df228f27f (patch)
tree8f06e1adbe6d92d58da7057f770fe4b42db4a42f /man/systemd.service.xml
parent6e0bcc980b1ff2fd8064d09dabf3746e7823b194 (diff)
man: document the WATCHDOG_USEC environment variable
Diffstat (limited to 'man/systemd.service.xml')
-rw-r--r--man/systemd.service.xml28
1 files changed, 17 insertions, 11 deletions
diff --git a/man/systemd.service.xml b/man/systemd.service.xml
index 0b5edb8560..a1d8a523ef 100644
--- a/man/systemd.service.xml
+++ b/man/systemd.service.xml
@@ -461,20 +461,26 @@
<varlistentry>
<term><varname>WatchdogSec=</varname></term>
- <listitem><para>Configures the watchdog
- timeout for a service. This is activated
- when the start-up is completed. The service
- must call
+ <listitem><para>Configures the
+ watchdog timeout for a service. This
+ 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
- enters a failure state. By setting
+ 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
<term><varname>Restart=</varname></term>
to <option>on-failure</option> or
- <option>always</option> the service can
- be restarted. Defaults to 0s, which
- disables this feature.</para></listitem>
+ <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. Defaults to 0s,
+ which disables this
+ feature.</para></listitem>
</varlistentry>
<varlistentry>