diff options
author | Evgeny Vereshchagin <evvers@ya.ru> | 2015-11-21 04:17:47 +0000 |
---|---|---|
committer | Evgeny Vereshchagin <evvers@ya.ru> | 2015-11-21 04:17:47 +0000 |
commit | a0533c6d2ce5b43d43d05653bdd774b769090313 (patch) | |
tree | 8e12ecba7ece05587f07538050aa6e6922823e7e | |
parent | aedf698f3e93b2d376e03b85c471f0f54ccda50d (diff) |
man: update WatchdogSec section
* add info about sd_event_set_watchdog
* add missing Restart values
-rw-r--r-- | man/systemd.service.xml | 7 |
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> |