summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2012-02-08 10:10:34 +0100
committerLennart Poettering <lennart@poettering.net>2012-02-08 17:10:38 +0100
commitbb242b7b5277f5db4a01be905f26eccd382ff1e0 (patch)
tree99cb256985193d596061bd585cc71e7155b43499 /man
parentaa704ba8c2a1adce92ba8a154f70f1bdc950be1e (diff)
service: introduce WatchdogSec and hook up the watchdog with the existing failure logic
Diffstat (limited to 'man')
-rw-r--r--man/systemd.service.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/man/systemd.service.xml b/man/systemd.service.xml
index 0baddd1d4f..0b5edb8560 100644
--- a/man/systemd.service.xml
+++ b/man/systemd.service.xml
@@ -460,6 +460,24 @@
</varlistentry>
<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
+ <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
+ <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>
+ </varlistentry>
+
+ <varlistentry>
<term><varname>Restart=</varname></term>
<listitem><para>Configures whether the
main service process shall be