From bbbdbbc34a733f34c1f272432129f497a2f962f4 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Wed, 23 Sep 2015 19:21:14 +0000 Subject: - Finishing touches to the doc - rc for 0.0.1.0 --- doc/faq.html | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'doc') diff --git a/doc/faq.html b/doc/faq.html index 608c5e2..9abf75b 100644 --- a/doc/faq.html +++ b/doc/faq.html @@ -271,8 +271,11 @@ and "down", no "starting", no "failed", etc. Why ?

From the machine's point of view, things are simple: a service is either up or it's not. If a service fails to start, then it's still -down. Note that it is recommended to write atomic oneshots -for this very reason. +down. Note that it is recommended to write transactional oneshots +for this very reason: it is simple to try starting again a service that +failed to start, but it is hard to recover from a service that is +only "partially up" - and this is true whether you're using s6-rc +or another service manager.

@@ -280,7 +283,8 @@ for this very reason. track of what they're doing and what they have done. But this introduces needless complexity: the reality is that the service is either up or down, it's either in the state you wanted it to be or -not. A model should not be more complex than the reality. +not. If it's in some other, weird, state, then the service scripts +have not been properly designed - they are not transactional.

-- cgit v1.2.3