chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6e0bcc9
)
man: document the WATCHDOG_USEC environment variable
author
Lennart Poettering
<lennart@poettering.net>
Wed, 8 Feb 2012 20:24:41 +0000
(21:24 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Wed, 8 Feb 2012 20:24:41 +0000
(21:24 +0100)
man/systemd.service.xml
patch
|
blob
|
history
diff --git
a/man/systemd.service.xml
b/man/systemd.service.xml
index 0b5edb85603059229364f9f8dc4d00af9900c41d..a1d8a523ef25f25ececb73a2334e8309b25bf37c 100644
(file)
--- a/
man/systemd.service.xml
+++ b/
man/systemd.service.xml
@@
-461,20
+461,26
@@
<varlistentry>
<term><varname>WatchdogSec=</varname></term>
<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>
<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
<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>
</varlistentry>
<varlistentry>