summaryrefslogtreecommitdiff
path: root/doc/s6-rc-compile.html
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-09-30 13:14:20 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-09-30 13:14:20 +0000
commitc06c68253b90670ca66f22be40ffbd198f22145f (patch)
treefc7608cb35b5164854e42494f7dbd2f99c73b6ce /doc/s6-rc-compile.html
parentf44565234a719600bbd8dc66308bc7be2683a8a6 (diff)
downloads6-rc-c06c68253b90670ca66f22be40ffbd198f22145f.tar.xz
Add doc precisions about live compiled dbs
Diffstat (limited to 'doc/s6-rc-compile.html')
-rw-r--r--doc/s6-rc-compile.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/s6-rc-compile.html b/doc/s6-rc-compile.html
index d78e7ad..d23f071 100644
--- a/doc/s6-rc-compile.html
+++ b/doc/s6-rc-compile.html
@@ -374,6 +374,23 @@ instance managed by an automatically generated longrun service named
<tt>s6rc-fdholder</tt>.
</p>
+<h2> Compiled database usage </h2>
+
+<ul>
+ <li> Once it has been built with s6-rc-compile, a compiled database cannot be
+modified. It (i.e. the directory containing the <em>n</em>, <em>db</em> and
+<em>resolve.cdb</em> files as well as the <em>servicedirs</em< subdirectory)
+can be moved around in the filesystem, provided the insides remain
+untouched. </li>
+ <li> Once a compiled database is live (i.e. it has services running on it,
+following an invocation of <a href="s6-rc-init.html">s6-rc-init</a> or
+<a href="s6-rc-update.html">s6-rc-update</a>, it <em>must not move anymore</em>,
+and it must not be deleted. The only way to "free" such a compiled database
+for displacement or deletion is to replace it as the live one via another
+call to <a href="s6-rc-update.html">s6-rc-update</a>. </li>
+</ul>
+
+
<h2> A complete example </h2>
<p>