From 983061db31e02d62359dd8a0cb1e9f125950cfdb Mon Sep 17 00:00:00 2001
From: Laurent Bercot
Date: Thu, 13 Aug 2015 20:26:47 +0000
Subject: - add support for --livedir - doc fixes
---
doc/s6-rc-compile.html | 17 ++++++++++++-----
1 file changed, 12 insertions(+), 5 deletions(-)
(limited to 'doc/s6-rc-compile.html')
diff --git a/doc/s6-rc-compile.html b/doc/s6-rc-compile.html
index 44327ba..6e539e4 100644
--- a/doc/s6-rc-compile.html
+++ b/doc/s6-rc-compile.html
@@ -159,14 +159,15 @@ character are ignored. The file defines the direct dependencies of
It is unnecessary to manually define complete sets of dependencies in the
dependency file, because
s6-rc will properly handle dependency chains.
-anyway. If A depends on B, no matter the underlying
+If A depends on B, no matter the underlying
implementation of B, and the current implementation of B
depends on C, then you should just put B in
A/dependencies; when starting the set,
s6-rc will start C first, then
B, then A. If the underlying implementation of B
changes and does not depend on C, then you will just have to
-modify the dependencies for B, not for A
+modify the dependencies for B, and the definition of A
+will still be correct.
@@ -182,13 +183,16 @@ complain and exit 1.
For oneshots
- - Two mandatory regular files named up and down, which
+
- Two regular files named up and down, which
must each contain a single Unix command line. The files will be interpreted by the
execlineb
lexer at compile time and the results will be stored into the
compiled database in an internal form. up will be run when
the service is started, and down will be executed when the service
-is stopped.
+is stopped. up is mandatory, but down is optional;
+if no down file is provided in the source definition directory,
+then s6-rc will consider that the down transition for this service
+does nothing and always succeeds.
@@ -255,7 +259,10 @@ about pipelines.
A mandatory regular file named run, as well as optional files
named finish, notification-fd and nosetsid. These
files will be copied, or recreated, in the generated
-service directory.
+service directory:
+they are meant to be used by the
+s6-supervise
+process that will manage the longrun service.
Optional directories named data and env. These will
be copied verbatim into the generated service directory.
An optional file named producer-for. If this file exists, then
--
cgit v1.2.3