From bb242b7b5277f5db4a01be905f26eccd382ff1e0 Mon Sep 17 00:00:00 2001 From: Michael Olbrich Date: Wed, 8 Feb 2012 10:10:34 +0100 Subject: service: introduce WatchdogSec and hook up the watchdog with the existing failure logic --- man/systemd.service.xml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'man') diff --git a/man/systemd.service.xml b/man/systemd.service.xml index 0baddd1d4f..0b5edb8560 100644 --- a/man/systemd.service.xml +++ b/man/systemd.service.xml @@ -459,6 +459,24 @@ 90s. + + WatchdogSec= + 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 + Restart= + to or + the service can + be restarted. Defaults to 0s, which + disables this feature. + + Restart= Configures whether the -- cgit v1.2.3-54-g00ecf