Unified shutdown and init to use 3 second wait between SIGTERM and
SIGKILL. Defined this value in init.h (WAIT_BETWEEN_SIGNALS) for easy modification. Updated documentation to address Debian bug #375274.
This commit is contained in:
@@ -184,7 +184,7 @@ otherwise request would be silently ignored.
|
||||
.PP
|
||||
\fBtelinit\fP can tell \fBinit\fP how long it should wait
|
||||
between sending processes the SIGTERM and SIGKILL signals. The default
|
||||
is 5 seconds, but this can be changed with the \fB-t\fP option.
|
||||
is 3 seconds, but this can be changed with the \fB-t\fP option.
|
||||
.PP
|
||||
\fBtelinit -e\fP tells \fBinit\fP to change the environment
|
||||
for processes it spawns.
|
||||
|
@@ -100,8 +100,14 @@ will be sent to all users.
|
||||
.\"}}}
|
||||
.\"{{{ -t sec
|
||||
.IP "\fB\-t\fP \fIsec\fP"
|
||||
Tell \fBinit\fP(8) to wait \fIsec\fP seconds between sending processes the
|
||||
warning and the kill signal, before changing to another runlevel.
|
||||
Tell \fBinit\fP(8) to wait \fIsec\fP seconds between sending all processes the
|
||||
warning (SIGTERM) and the kill signal (SIGKILL), before changing to another runlevel.
|
||||
The default time, if no value is specified, between these two signals is
|
||||
three seconds. Warning: when shutdown calls init to perform the shutdown (the
|
||||
default behaviour), init checks to see if all processes have terminated
|
||||
and will stop waiting early once its children have all terminated.
|
||||
When shutdown is called with the -n flag, it waits the full time specified
|
||||
(or three seconds) even if all other processes have terminated.
|
||||
.\"}}}
|
||||
.\"{{{ time
|
||||
.IP \fItime\fP
|
||||
|
Reference in New Issue
Block a user