diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2020-08-20 17:33:39 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2020-08-20 17:33:39 +0000 |
commit | 3d908585178fb8e8b9201931e0d8385a98a78d5c (patch) | |
tree | 04ee279f3ebbf8ea7fcec296d1d41734ad90eec2 /doc | |
parent | a1b139e5d448b260b3f7849a5b24f45da45241a1 (diff) | |
download | s6-rc-3d908585178fb8e8b9201931e0d8385a98a78d5c.tar.xz |
Make flags work on bundles too
Diffstat (limited to 'doc')
-rw-r--r-- | doc/s6-rc-compile.html | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/doc/s6-rc-compile.html b/doc/s6-rc-compile.html index b429e8e..048f6cb 100644 --- a/doc/s6-rc-compile.html +++ b/doc/s6-rc-compile.html @@ -104,6 +104,12 @@ definition directory <em>service</em> is expected to contain the following files <tt>oneshot</tt>, <tt>longrun</tt> or <tt>bundle</tt>, and a terminating newline. This file declares the type of service defined by the directory. </li> + <li> An optional regular file named <tt>flag-essential</tt>. The contents of this +file are irrelevant, only its presence is tested. If this file exists, the service +will be marked as essential, which means that a <tt>s6-rc -d change <em>foo</em></tt> +command will not stop the service. Only a <tt>s6-rc -D change <em>foo</em></tt> +command will. If the service is a bundle, the flag will be propagated to all its +contents, i.e. all the services it represents will be marked as essential. </li> </ul> <h3> For bundles </h3> @@ -113,7 +119,7 @@ directory. </li> of service names, one per line. Whitespace at the beginning of a line is ignored, but trailing whitespace is not. Lines starting with a <tt>#</tt> character are ignored. The file defines the services that will be -represented by the bundle named <em>service</em>. +represented by the bundle named <em>service</em>. </li> </ul> <p> @@ -143,11 +149,6 @@ is ignored, but trailing whitespace is not. Lines starting with a <tt>#</tt> character are ignored. The file defines the <em>direct dependencies</em> of <em>service</em>, i.e. the services that must be up in order for <em>service</em> to work properly. </li> - <li> An optional regular file named <tt>flag-essential</tt>. The contents of this -file are irrelevant, only its presence is tested. If this file exists, the service -will be marked as essential, which means that a <tt>s6-rc -d change <em>foo</em></tt> -command will not stop the service. Only a <tt>s6-rc -D change <em>foo</em></tt> -command will. </li> </ul> <p> |