From 2c29d3324dbcab7720cc6bb5852b1a01daa6772c Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 1 Feb 2016 22:37:58 +0100 Subject: man: document the new RuntimeMaxSec= setting --- man/systemd.service.xml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/man/systemd.service.xml b/man/systemd.service.xml index d7b19ee27f..14f6cd6adc 100644 --- a/man/systemd.service.xml +++ b/man/systemd.service.xml @@ -470,7 +470,7 @@ configured time, the service will be considered failed and will be shut down again. Takes a unit-less value in seconds, or a time span value such as "5min 20s". Pass - 0 to disable the timeout logic. Defaults to + infinity to disable the timeout logic. Defaults to DefaultTimeoutStartSec= from the manager configuration file, except when Type=oneshot is used, in which case the @@ -489,7 +489,7 @@ KillMode= in systemd.kill5). Takes a unit-less value in seconds, or a time span value such - as "5min 20s". Pass 0 to disable the + as "5min 20s". Pass infinity to disable the timeout logic. Defaults to DefaultTimeoutStopSec= from the manager configuration file (see @@ -505,6 +505,16 @@ + + RuntimeMaxSec= + + Configures a maximum time for the service to run. If this is used and the service has been + active for longer than the specified time it is terminated and put into a failure state. Note that this setting + does not have any effect on Type=oneshot services, as they terminate immediately after + activation completed. Pass infinity (the default) to configure no runtime + limit. + + WatchdogSec= Configures the watchdog timeout for a service. -- cgit v1.2.3-54-g00ecf