X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsd_watchdog_enabled.xml;h=653f347ebfc41ee0af889891f113d80e2cbbf75d;hb=e6073bec9b44ce1a3b2c905f0a60ff26766c8747;hp=991431f33bfadee52cb9927e49577bbb52714191;hpb=798d3a524ea57aaf40cb53858aaa45ec702f012d;p=elogind.git diff --git a/man/sd_watchdog_enabled.xml b/man/sd_watchdog_enabled.xml index 991431f33..653f347eb 100644 --- a/man/sd_watchdog_enabled.xml +++ b/man/sd_watchdog_enabled.xml @@ -3,22 +3,22 @@ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> sd_watchdog_enabled - systemd + elogind @@ -50,7 +50,7 @@ - #include <systemd/sd-daemon.h> + #include <elogind/sd-daemon.h> int sd_watchdog_enabled @@ -98,6 +98,11 @@ WatchdogSec= in service files. See systemd.service5 for details. + + Use + sd_event_set_watchdog3 + to enable automatic watchdog support in + sd-event3-based event loops. @@ -114,9 +119,9 @@ Notes - + - Internally, this functions parses the + Internally, this function parses the $WATCHDOG_PID and $WATCHDOG_USEC environment variable. The call will ignore these variables if $WATCHDOG_PID @@ -143,24 +148,12 @@ Set by the system manager for supervised process for which watchdog support is enabled, and contains - the watchdog timeout in µs See above for + the watchdog timeout in µs. See above for details. - - History - - The watchdog functionality and the - $WATCHDOG_USEC variable were added in - systemd-41. - - sd_watchdog_enabled() function was - added in systemd-209. Since that version the - $WATCHDOG_PID variable is also set. - - See Also @@ -168,7 +161,8 @@ sd-daemon3, daemon7, systemd.service5, - sd_notify3 + sd_notify3, + sd_event_set_watchdog3