From c383ce196cd9859d97057c6bafa61084228832ed Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Wed, 27 Jul 2016 09:45:36 +0000 Subject: Add anchors to FAQ entries; add a FAQ for compiled db management. --- doc/faq.html | 84 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) diff --git a/doc/faq.html b/doc/faq.html index b54b79a..8df36cb 100644 --- a/doc/faq.html +++ b/doc/faq.html @@ -18,7 +18,10 @@

s6-rc: Frequently Asked Questions

+ +

Quick recipes

+

How do I...

@@ -67,7 +70,10 @@ will bring the new services up. The services that will start are listed after -- change.

+ +

The s6-rc-compile source format

+

The source format for s6-rc-compile is not very convenient. @@ -161,7 +167,82 @@ Bundles have multiple uses, and virtual services are definitely one of them.

+ + +

Managing compiled databases

+
+ +

How do I safely update my compiled database? It is a directory, so +I cannot atomically replace my old database with the new one.

+ +

+ Use symbolic links. You can atomically replace a symbolic link, and the +s6-rc programs have been designed with that mechanism in mind. Here is +the simplest way of managing your compiled databases: (change the names +according to your preferences, but keep the same idea) +

+ + + + +

Switching from another service manager

+

I have a collection of init scripts in another format, but don't want to wait until the whole collection is converted @@ -315,7 +396,10 @@ state as "down" allows users to apply their chosen policies - see below. Keep it simple, stupid.

+ +

Mechanism vs. policy

+

s6-rc feels bare: there are tools, but no wrappers, no pre-packaged scripts to boot my machines, no default runlevels. By comparison, OpenRC -- cgit v1.2.3