From 4dff574a3ae25687872b74bac9ff4605457e895b Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 15 Apr 2016 19:27:19 +0000 Subject: Doc fix and clarification about symlinking servicedirs into the scandir --- doc/scandir.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/scandir.html b/doc/scandir.html index eefd2b9..e260c86 100644 --- 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 s6-svscan -t0: copying a +latter is useful if you are using the -t option to +s6-svscan 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 s6-supervise getting +the wrong information and not managing the service properly.)

-- cgit v1.2.3