summaryrefslogtreecommitdiff
path: root/doc/s6-linux-init-shutdownd.html
diff options
context:
space:
mode:
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>