From 047befef9b8ef074d34b05e294d753f6c2751987 Mon Sep 17 00:00:00 2001
From: Laurent Bercot
Date: Wed, 23 Sep 2015 19:13:22 +0000
Subject: No need for -a in s6-rc -u invocation; remove -X from dryrun print
---
doc/s6-rc-init.html | 24 ++++++++++++++++++++----
1 file changed, 20 insertions(+), 4 deletions(-)
(limited to 'doc/s6-rc-init.html')
diff --git a/doc/s6-rc-init.html b/doc/s6-rc-init.html
index 3334525..e5ae884 100644
--- a/doc/s6-rc-init.html
+++ b/doc/s6-rc-init.html
@@ -36,7 +36,7 @@ invocation of the
absolute paths.
s6-rc-init expects to find a compiled service database
in compiled. It expects to be able to create a directory
-at live. It also expects that an instance of
+named live. It also expects that an instance of
s6-svscan
is running on scandir.
s6-rc-init initializes the live state in live. It
@@ -44,13 +44,13 @@ declares compiled as the current service database and
sets the state as "all services down".
It then copies verbatim all
the service directories declared by compiled into a
-subdirectory of live, adds down files to the live copies
-and links them into scandir. It then triggers
+subdirectory of live, adds ./down files to the live copies
+and links those live copies into scandir. It then triggers
s6-svscan,
which will pick up the new service directories and start
s6-supervise
processes on them - but the service themselves will not be started
-right away, because of the down files.
+right away, because of the ./down files.
s6-rc-init waits for all s6-supervise processes to be
operational, then exits 0.
@@ -95,5 +95,21 @@ invocation of the s6-rc change command.)
stage2 (by default /etc/rc.init) script.
+ Notes
+
+
+ - The directory created by s6-rc-init will actually be called
+live:initial, and live will be a symbolic
+link to that directory. Users should ignore this, and always refer
+to the live directory as live in their future
+s6-rc or s6-rc-update
+invocations. The reason for this behaviour is that
+s6-rc-update creates another,
+similarly named, directory (live:suffix)
+and updates the live state by atomically changing the target of the
+live symlink - so live will not change names, whereas
+the real directory may.)
+
+