From 5e34b37c9fec5da130f6549ddabd8a2af5c9faac Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Thu, 7 Aug 2014 20:46:34 -0400 Subject: [PATCH] man: correct references to DefaultTimeout*Sec Noticed by thp on #systemd. --- man/systemd.service.xml | 10 ++++++---- man/systemd.socket.xml | 10 ++++++---- man/systemd.swap.xml | 8 +++++--- 3 files changed, 17 insertions(+), 11 deletions(-) diff --git a/man/systemd.service.xml b/man/systemd.service.xml index 013125026..5c4bd6569 100644 --- a/man/systemd.service.xml +++ b/man/systemd.service.xml @@ -605,11 +605,12 @@ ExecStart=/bin/echo $ONE $TWO ${TWO} time span value such as "5min 20s". Pass 0 to disable the timeout logic. Defaults to - TimeoutStartSec= from + DefaultTimeoutStartSec= from the manager configuration file, except when Type=oneshot is used, in which case the timeout - is disabled by default. + is disabled by default + (see systemd-systemd.conf5). @@ -628,8 +629,9 @@ ExecStart=/bin/echo $ONE $TWO ${TWO} time span value such as "5min 20s". Pass 0 to disable the timeout logic. Defaults to - TimeoutStartSec= from the - manager configuration file. + DefaultTimeoutStopSec= from the + manager configuration file + (see systemd-systemd.conf5). diff --git a/man/systemd.socket.xml b/man/systemd.socket.xml index 09a7311b8..9c9af531e 100644 --- a/man/systemd.socket.xml +++ b/man/systemd.socket.xml @@ -722,16 +722,18 @@ finish. If a command does not exit within the configured time, the socket will be considered failed and be shut - down again. All commands still running, + down again. All commands still running will be terminated forcibly via SIGTERM, and after another delay of this time with SIGKILL. (See in systemd.kill5.) 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 TimeoutStartSec= from the - manager configuration file. + 20s". Pass 0 to disable the timeout + logic. Defaults to DefaultTimeoutStartSec= from the + manager configuration file + (see systemd-systemd.conf5). + diff --git a/man/systemd.swap.xml b/man/systemd.swap.xml index 492309e53..61901d268 100644 --- a/man/systemd.swap.xml +++ b/man/systemd.swap.xml @@ -185,9 +185,11 @@ systemd.kill5.) 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 TimeoutStartSec= from the - manager configuration file. + 20s". Pass 0 to disable the timeout + logic. Defaults to DefaultTimeoutStartSec= from the + manager configuration file + (see systemd-systemd.conf5). + -- 2.30.2