From e8ab3ccba4232825dd5a54f8516ce42df228f27f Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 8 Feb 2012 21:24:41 +0100 Subject: [PATCH] man: document the WATCHDOG_USEC environment variable --- man/systemd.service.xml | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/man/systemd.service.xml b/man/systemd.service.xml index 0b5edb856..a1d8a523e 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. -- 2.30.2