X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsd_watchdog_enabled.xml;h=653f347ebfc41ee0af889891f113d80e2cbbf75d;hb=e4dd0722cae89f144f3a4cf163e706e7dc071728;hp=efa8fbf3f5da52aa6c28150e0c979dd13cf34aa6;hpb=b514d6c9dcc7c0d7353f975ecfb94f2197c73cf1;p=elogind.git diff --git a/man/sd_watchdog_enabled.xml b/man/sd_watchdog_enabled.xml index efa8fbf3f..653f347eb 100644 --- a/man/sd_watchdog_enabled.xml +++ b/man/sd_watchdog_enabled.xml @@ -96,8 +96,13 @@ To enable service supervision with the watchdog logic, use WatchdogSec= in service files. See - logind.service5 + systemd.service5 for details. + + Use + sd_event_set_watchdog3 + to enable automatic watchdog support in + sd-event3-based event loops. @@ -116,7 +121,7 @@ - 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,32 +148,21 @@ 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 - elogind-41. - - sd_watchdog_enabled() function was - added in elogind-209. Since that version the - $WATCHDOG_PID variable is also set. - - See Also - elogind1, + systemd1, sd-daemon3, daemon7, - logind.service5, - sd_notify3 + systemd.service5, + sd_notify3, + sd_event_set_watchdog3