aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2026-04-20 23:00:13 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2026-04-20 23:00:13 +0000
commitbfffc7a8685d914873eaa1fc918f660b1fee4d8e (patch)
tree2ac67a8d01ce66755a1a88ccceeff209a24eae5c /doc
parentb802dc3f5c30d378a9d25b6acdef09780b591acf (diff)
downloads6-rc-bfffc7a8685d914873eaa1fc918f660b1fee4d8e.tar.gz
Prepare for 0.6.1.0; set RC_NAME in oneshots
Diffstat (limited to 'doc')
-rw-r--r--doc/index.html4
-rw-r--r--doc/s6-rc-oneshot-run.html8
-rw-r--r--doc/s6-rc.html5
-rw-r--r--doc/upgrade.html2
4 files changed, 13 insertions, 6 deletions
diff --git a/doc/index.html b/doc/index.html
index f80ecda..fb7e119 100644
--- a/doc/index.html
+++ b/doc/index.html
@@ -69,8 +69,8 @@ requirement if you link against the shared version of the skalibs library. </li>
<ul>
<li> The current released version of s6-rc is
-<a href="s6-rc-0.6.0.1.tar.gz">0.6.0.1</a>.
-You can access its checksum <a href="s6-rc-0.6.0.1.tar.gz.sha256">here</a>. </li>
+<a href="s6-rc-0.6.1.0.tar.gz">0.6.1.0</a>.
+You can access its checksum <a href="s6-rc-0.6.1.0.tar.gz.sha256">here</a>. </li>
<li> Alternatively, you can checkout a copy of the
<a href="//git.skarnet.org/cgi-bin/cgit.cgi/s6-rc/">s6-rc
git repository</a>:
diff --git a/doc/s6-rc-oneshot-run.html b/doc/s6-rc-oneshot-run.html
index 5e641bd..ee454ae 100644
--- a/doc/s6-rc-oneshot-run.html
+++ b/doc/s6-rc-oneshot-run.html
@@ -31,7 +31,7 @@ in internal scripts created by
<a href="s6-rc.html">s6-rc</a> execution.
</p>
-<h2> Interface </h2>
+<h2 id="interface"> Interface </h2>
<pre>
s6-rc-oneshot-run [ -l <em>live</em> ] [ -b ] up|down <em>n</em>
@@ -42,9 +42,11 @@ in internal scripts created by
of the <em>n</em>th oneshot service defined
in the current compiled service database (i.e. the compiled linked from the
live directory). </li>
+ <li> <tt>up</tt> or <tt>down</tt> are run with the <tt>RC_NAME</tt>
+environment variable set to the name of the service. </li>
</ul>
-<h2> Options </h2>
+<h2 id="options"> Options </h2>
<ul>
<li> <tt>-l&nbsp;<em>live</em></tt>&nbsp;: use the live directory in
@@ -57,7 +59,7 @@ By default, s6-rc-oneshot-run fails with an error message if the database
is currently in use. </li>
</ul>
-<h2> Exit codes </h2>
+<h2 id="exitcodes"> Exit codes </h2>
<ul>
<li> 3: invalid service number </li>
diff --git a/doc/s6-rc.html b/doc/s6-rc.html
index 62c33ca..a7eb9d9 100644
--- a/doc/s6-rc.html
+++ b/doc/s6-rc.html
@@ -370,6 +370,11 @@ tree, instead of children of the s6-rc process.
</p>
<p>
+ The <em>up</em> and <em>down</em> scripts are run with the <tt>RC_NAME</tt>
+environment variable set to the name of the service.
+</p>
+
+<p>
Transitions should be ideally transactional, or at the very least
idempotent. If a
transition fails, it should leave the machine in the same state as
diff --git a/doc/upgrade.html b/doc/upgrade.html
index 64cbe1d..0e75dbe 100644
--- a/doc/upgrade.html
+++ b/doc/upgrade.html
@@ -31,7 +31,7 @@ minor and bugfix version changes.
<h1> What has changed in s6-rc </h1>
-<h2> in 0.6.0.1 </h2>
+<h2> in 0.6.1.0 </h2>
<ul>
<li> <a href="//skarnet.org/software/skalibs/">skalibs</a>