summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2022-01-11 20:21:51 +0000
committerLaurent Bercot <ska@appnovation.com>2022-01-11 20:21:51 +0000
commitfafa34059864fb8985d66243270c1e72609d4762 (patch)
treefc2814fa82846642c2eb26c80eeed13e381ef77e /doc
parent3151e4828a08586cdee65766c94a70488bdb0a86 (diff)
downloads6-linux-init-fafa34059864fb8985d66243270c1e72609d4762.tar.xz
Catch SIGTERM in containers (for docker stop)
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/s6-linux-init-maker.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/s6-linux-init-maker.html b/doc/s6-linux-init-maker.html
index 1e87265..00a9722 100644
--- a/doc/s6-linux-init-maker.html
+++ b/doc/s6-linux-init-maker.html
@@ -337,6 +337,8 @@ Default is <strong>no utmpd service</strong>. </li> <br />
<li> <tt>-C</tt>&nbsp;: create a set of scripts that is suitable
for running <em>in a container</em>. This modifies some behaviours:
<ul>
+ <li> SIGTERM will be caught by s6-svscan, and cause an orderly
+shutdown of the container, as if the "poweroff" script had been invoked. </li>
<li> No early <tt>runleveld</tt> service is created. Changing
runlevels via
<a href="s6-linux-init-telinit.html">s6-linux-init-telinit</a>