summaryrefslogtreecommitdiff
path: root/doc/s6-linux-init-shutdownd.html
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2020-01-19 00:35:34 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2020-01-19 00:35:34 +0000
commit5e17662d138fc9c9f70a4422eab059c2bdc9432d (patch)
treec08d89139b0e0ad5d0ae2ea2446068afa2ffe295 /doc/s6-linux-init-shutdownd.html
parentf13cdf2fa9609644dd0556669889e8c83fa053ff (diff)
downloads6-linux-init-5e17662d138fc9c9f70a4422eab059c2bdc9432d.tar.xz
Add -C and -B options, prepare for 1.0.4.0
Diffstat (limited to 'doc/s6-linux-init-shutdownd.html')
-rw-r--r--doc/s6-linux-init-shutdownd.html11
1 files changed, 10 insertions, 1 deletions
diff --git a/doc/s6-linux-init-shutdownd.html b/doc/s6-linux-init-shutdownd.html
index ce03543..a5e92ca 100644
--- a/doc/s6-linux-init-shutdownd.html
+++ b/doc/s6-linux-init-shutdownd.html
@@ -27,7 +27,7 @@ directly by the user.
<h2> Interface </h2>
<pre>
- s6-linux-init-shutdownd [ -c <em>basedir</em> ] [ -g <em>gracetime</em> ]
+ s6-linux-init-shutdownd [ -c <em>basedir</em> ] [ -g <em>gracetime</em> ] [ -C ] [ -B ]
</pre>
<ul>
@@ -57,6 +57,15 @@ directory. Default is <tt>/etc/s6-linux-init/current</tt>. </li>
<li> <tt>-g&nbsp;<em>gracetime</em></tt>&nbsp;: if the shutdown command
does not specify a grace time between the SIGTERM and the SIGKILL, use
<em>gracetime</em> milliseconds. Default is 3000. </li>
+ <li> <tt>-C</tt>&nbsp;: inform the shutdown daemon that it is running
+in a container. This changes the nature of <em>stage 4</em>, since
+exiting a container is slightly different from rebooting a real machine
+(in particular, pid 1 has to exit, and great care must be given not to
+leave any zombie hanging around). </li>
+ <li> <tt>-B</tt>&nbsp;: inform the shutdown daemon that no catch-all
+logger is running. This also changes the shutdown procedure slightly,
+since some operations are specific to the existence of a catch-all
+logger. </li>
</ul>
<h2> Notes </h2>