summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Vereshchagin <evvers@ya.ru>2015-11-21 04:17:47 +0000
committerEvgeny Vereshchagin <evvers@ya.ru>2015-11-21 04:17:47 +0000
commita0533c6d2ce5b43d43d05653bdd774b769090313 (patch)
tree8e12ecba7ece05587f07538050aa6e6922823e7e
parentaedf698f3e93b2d376e03b85c471f0f54ccda50d (diff)
man: update WatchdogSec section
* add info about sd_event_set_watchdog * add missing Restart values
-rw-r--r--man/systemd.service.xml7
1 files changed, 5 insertions, 2 deletions
diff --git a/man/systemd.service.xml b/man/systemd.service.xml
index 596bbcda36..b998a1f81f 100644
--- a/man/systemd.service.xml
+++ b/man/systemd.service.xml
@@ -506,7 +506,8 @@
larger than the configured time, then the service is placed in
a failed state and it will be terminated with
<constant>SIGABRT</constant>. By setting
- <varname>Restart=</varname> to <option>on-failure</option> or
+ <varname>Restart=</varname> to <option>on-failure</option>,
+ <option>on-watchdog</option>, <option>on-abnormal</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
@@ -521,7 +522,9 @@
check whether the service manager expects watchdog keep-alive
notifications. See
<citerefentry><refentrytitle>sd_watchdog_enabled</refentrytitle><manvolnum>3</manvolnum></citerefentry>
- for details.
+ for details.
+ <citerefentry><refentrytitle>sd_event_set_watchdog</refentrytitle><manvolnum>3</manvolnum></citerefentry>
+ may be used to enable automatic watchdog notification support.
</para></listitem>
</varlistentry>