summaryrefslogtreecommitdiff
path: root/doc/s6-linux-init-shutdown.html
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2019-06-09 08:55:43 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2019-06-09 08:55:43 +0000
commit55691b5e18ba7cd23c521eb8d54d5f2e4a7d0ea5 (patch)
tree4896c7a4379ac19e18cab58f26e44c6000b0d998 /doc/s6-linux-init-shutdown.html
parente070685b6b0077f93b281b5959740a6cc205cfc6 (diff)
downloads6-linux-init-55691b5e18ba7cd23c521eb8d54d5f2e4a7d0ea5.tar.xz
Add -H and -P to s6-l-i-shutdown, prepare for 1.0.2.0
Diffstat (limited to 'doc/s6-linux-init-shutdown.html')
-rw-r--r--doc/s6-linux-init-shutdown.html11
1 files changed, 9 insertions, 2 deletions
diff --git a/doc/s6-linux-init-shutdown.html b/doc/s6-linux-init-shutdown.html
index 871a13a..a61f8be 100644
--- a/doc/s6-linux-init-shutdown.html
+++ b/doc/s6-linux-init-shutdown.html
@@ -26,7 +26,7 @@ It is normally invoked as <tt>/sbin/shutdown</tt>.
<h2> Interface </h2>
<pre>
- s6-linux-init-shutdown [ -h | -p | -r | -k ] [ -a ] [ -t <em>sec</em> ] [ -f | -F ] <em>time</em> [ <em>message</em> ]
+ s6-linux-init-shutdown [ -h [ -H | -P ] | -p | -r | -k ] [ -a ] [ -t <em>sec</em> ] [ -f | -F ] <em>time</em> [ <em>message</em> ]
s6-linux-init-shutdown -c [ <em>message</em> ]
</pre>
@@ -71,7 +71,8 @@ of <em>sec</em> seconds between the SIGTERM and the SIGKILL (to allow processes
receiving SIGTERM to exit cleanly). Default is 3 seconds. </li>
<li> <tt>-k</tt>&nbsp;: warning only. <em>message</em> will be sent to all
logged in users, but the shutdown sequence will not be triggered. </li>
- <li> <tt>-h</tt>&nbsp;: at the end of the shutdown sequence, halt the system. </li>
+ <li> <tt>-h</tt>&nbsp;: at the end of the shutdown sequence, halt the system. The
+behaviour of this option may be altered with <tt>-H</tt> or <tt>-P</tt>. </li>
<li> <tt>-p</tt>&nbsp;: at the end of the shutdown sequence, power off the system.
(This option is provided as an extension, it is not required by the LSB interface.) </li>
<li> <tt>-r</tt>&nbsp;: at the end of the shutdown sequence, reboot the system. </li>
@@ -80,6 +81,12 @@ logged in users, but the shutdown sequence will not be triggered. </li>
<li> <tt>-c</tt>&nbspl: cancel a planned shutdown (i.e. cancel the effect of a
previous call to <tt>shutdown</tt> with a <em>time</em> argument that was not <tt>now</tt>).
This cannot be used to interrupt a shutdown sequence that has already started. </li>
+ <li> <tt>-H</tt>&nbsp;: this option can only be used in conjunction with <tt>-h</tt>.
+Ensures the system is halted, not powered off, at the end of the shutdown sequence.
+<tt>-Hh</tt> is equivalent to <tt>-h</tt>. </li>
+ <li> <tt>-P</tt>&nbsp;: this option can only be used in conjunction with <tt>-h</tt>.
+Ensures the system is powered off at the end of the shutdown sequence.
+<tt>=Ph</tt> is equivalent to <tt>-p</tt>. </li>
</ul>
<h2> Notes </h2>