commit 4dff574a3ae25687872b74bac9ff4605457e895b parent eea4ec8eb39ffd56a6b83d65568c5f4b73ea6704 Author: Laurent Bercot <ska-skaware@skarnet.org> Date: Fri, 15 Apr 2016 19:27:19 +0000 Doc fix and clarification about symlinking servicedirs into the scandir Diffstat:
M | doc/scandir.html | | | 7 | +++++-- |
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/doc/scandir.html b/doc/scandir.html @@ -108,9 +108,12 @@ service repository can be safely stored on the root filesystem, and the needed directories copied to a RAM filesystem at boot time. The scan directory can be either the place where the working copies are written, or another directory containing symlinks to those working copies. (The -latter is useful if you are not using <tt>s6-svscan -t0</tt>: copying a +latter is useful if you are using the <tt>-t</tt> option to +<a href="s6-svscan.html">s6-svscan</a> with a nonzero argument: copying a directory is not atomic, but making a symlink is, so there is no risk -of your scanner finding an incomplete directory.) +of your scanner finding a directory while it is being copied - which +could result in <a href="s6-supervise.html">s6-supervise</a> getting +the wrong information and not managing the service properly.) </p> <p>