From: Jan Synacek Date: Fri, 22 Jun 2018 07:11:49 +0000 (+0200) Subject: man: correct the meaning of TimeoutStopSec= (#9325) X-Git-Tag: v239~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9a6da355a06e2b272717f2ac23e41945ce56eb6d;p=thirdparty%2Fsystemd.git man: correct the meaning of TimeoutStopSec= (#9325) Fixes: #9325 --- diff --git a/man/systemd.service.xml b/man/systemd.service.xml index afa0ae4115a..add54524cee 100644 --- a/man/systemd.service.xml +++ b/man/systemd.service.xml @@ -522,12 +522,12 @@ TimeoutStopSec= - Configures the time to wait for stop. If a - service is asked to stop, but does not terminate in the - specified time, it will be terminated forcibly via - SIGTERM, and after another timeout of - equal duration with SIGKILL (see - KillMode= in + This option serves two purposes. First, it configures the time to wait for each + ExecStop= command. If any of them times out, subsequent ExecStop= commands + are skipped and the service will be terminated by SIGTERM. If no ExecStop= + commands are specified, the service gets the SIGTERM immediately. Second, it configures the time + to wait for the service itself to stop. If it doesn't terminate in the specified time, it will be forcibly terminated + by SIGKILL (see KillMode= in systemd.kill5). Takes a unit-less value in seconds, or a time span value such as "5min 20s". Pass infinity to disable the