From: Lennart Poettering Date: Wed, 8 Feb 2012 20:24:41 +0000 (+0100) Subject: man: document the WATCHDOG_USEC environment variable X-Git-Tag: v41~13 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8ab3ccba4232825dd5a54f8516ce42df228f27f;p=systemd man: document the WATCHDOG_USEC environment variable --- diff --git a/man/systemd.service.xml b/man/systemd.service.xml index 0b5edb85..a1d8a523 100644 --- a/man/systemd.service.xml +++ b/man/systemd.service.xml @@ -461,20 +461,26 @@ WatchdogSec= - Configures the watchdog - timeout for a service. This is activated - when the start-up is completed. The service - must call + Configures the + watchdog timeout for a service. This + is activated when the start-up is + completed. The service must call sd_notify3 - 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 + regularly with "WATCHDOG=1". If the + time between two such calls is larger + than the configured time then the + service is placed in a failure + state. By setting Restart= to or - the service can - be restarted. Defaults to 0s, which - disables this feature. + the service + will be automatically restarted. The + time configured here will be passed to + the executed service process in the + WATCHDOG_USEC= + environment variable. Defaults to 0s, + which disables this + feature.