diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2015-09-23 19:21:14 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2015-09-23 19:21:14 +0000 |
commit | bbbdbbc34a733f34c1f272432129f497a2f962f4 (patch) | |
tree | 2ca7c1f585196dd2a236c9fc1932f9c14fdcf841 /doc | |
parent | 047befef9b8ef074d34b05e294d753f6c2751987 (diff) | |
download | s6-rc-bbbdbbc34a733f34c1f272432129f497a2f962f4.tar.xz |
- Finishing touches to the doc
- rc for 0.0.1.0
Diffstat (limited to 'doc')
-rw-r--r-- | doc/faq.html | 10 |
1 files changed, 7 insertions, 3 deletions
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 ? </h3> <p> 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 <em>atomic</em> oneshots -for this very reason. +down. Note that it is recommended to write <em>transactional</em> 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. </p> <p> @@ -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. </p> <p> |