summaryrefslogtreecommitdiff
path: root/doc/s6-linux-init-shutdownd.html
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2019-04-26 15:52:54 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2019-04-26 15:52:54 +0000
commit1bfba3b0be32306b078f5ee527b864e758b2c77b (patch)
tree155db6f3c01becd24d422a2e55582e222ad6a89e /doc/s6-linux-init-shutdownd.html
parent9e6d0f168bf59df9cd829d6ebe63fb08ea9ae01e (diff)
downloads6-linux-init-1bfba3b0be32306b078f5ee527b864e758b2c77b.tar.xz
Make a single hpr. Full doc, first draft.
Diffstat (limited to 'doc/s6-linux-init-shutdownd.html')
-rw-r--r--doc/s6-linux-init-shutdownd.html16
1 files changed, 7 insertions, 9 deletions
diff --git a/doc/s6-linux-init-shutdownd.html b/doc/s6-linux-init-shutdownd.html
index b6ea412..f4cf8a0 100644
--- a/doc/s6-linux-init-shutdownd.html
+++ b/doc/s6-linux-init-shutdownd.html
@@ -3,8 +3,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Content-Language" content="en" />
- <title>s6-linux-init: the s6-linux-init-shutdownd internal program</title>
- <meta name="Description" content="s6-linux-init: the s6-linux-init-shutdownd internal program" />
+ <title>s6-linux-init: the s6-linux-init-shutdownd program</title>
+ <meta name="Description" content="s6-linux-init: the s6-linux-init-shutdownd program" />
<meta name="Keywords" content="s6 linux init administration root utilities shutdown halt poweroff reboot daemon shutdownd" />
<!-- <link rel="stylesheet" type="text/css" href="//skarnet.org/default.css" /> -->
</head>
@@ -16,7 +16,7 @@
<a href="//skarnet.org/">skarnet.org</a>
</p>
-<h1> The <tt>s6-linux-init-shutdownd</tt> internal program </h1>
+<h1> The <tt>s6-linux-init-shutdownd</tt> program </h1>
<p>
<tt>s6-linux-init-shutdownd</tt> is the daemon that manages the shutdown
@@ -27,7 +27,7 @@ directly by the user.
<h2> Interface </h2>
<pre>
- s6-linux-init-shutdownd [ -b <em>bindir</em> ] [ -c <em>basedir</em> ] [ -g <em>gracetime</em> ] <em>fifo</em>
+ s6-linux-init-shutdownd [ -c <em>basedir</em> ] [ -g <em>gracetime</em> ] <em>fifo</em>
</pre>
<ul>
@@ -36,8 +36,9 @@ and listens to it. This is where programs such as
<a href="s6-linux-init-shutdown.html">s6-linux-init-shutdown</a> send their
commands when they are told to trigger the shutdown procedure.</li>
<li> When it receives a command to shut down, <tt>s6-linux-init-shutdownd</tt>
-first spawns the <em>stage3</em> script defined by the last
-<a href="s6-linux-init-maker.html">s6-linux-init-maker</a> invocation. </li>
+first spawns the <em>rc.shutdown</em> script defined by the
+<a href="s6-linux-init-maker.html">s6-linux-init-maker</a> invocation that
+created the shutdownd service. </li>
<li> When this script exits, <tt>s6-linux-init-shutdownd</tt> kills all
processes, first with a SIGTERM, then (after the grace time specified by
the shutdown command) with a SIGKILL. </li>
@@ -56,9 +57,6 @@ machine. </li>
<h2> Options </h2>
<ul>
- <li> <tt>-b&nbsp;<em>bindir</em></tt>&nbsp;: look for the
-<a href="//skarnet.org/software/execline/execlineb.html">execlineb</a>
-script interpreter in the <em>bindir</em> directory. Default is <tt>/bin</tt>. </li>
<li> <tt>-c&nbsp;<em>basedir</em></tt>&nbsp;: look for the
<em>stage3</em> and <em>stage4</em> scripts in the <em>basedir</em>
directory. Default is <tt>/etc/s6-linux-init</tt>. </li>