From 3d908585178fb8e8b9201931e0d8385a98a78d5c Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Thu, 20 Aug 2020 17:33:39 +0000 Subject: Make flags work on bundles too --- doc/s6-rc-compile.html | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'doc/s6-rc-compile.html') 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 service is expected to contain the following files oneshot, longrun or bundle, and a terminating newline. This file declares the type of service defined by the directory. +
  • An optional regular file named flag-essential. 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 s6-rc -d change foo +command will not stop the service. Only a s6-rc -D change foo +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.
  • For bundles

    @@ -113,7 +119,7 @@ directory. of service names, one per line. Whitespace at the beginning of a line is ignored, but trailing whitespace is not. Lines starting with a # character are ignored. The file defines the services that will be -represented by the bundle named service. +represented by the bundle named service.

    @@ -143,11 +149,6 @@ is ignored, but trailing whitespace is not. Lines starting with a # character are ignored. The file defines the direct dependencies of service, i.e. the services that must be up in order for service to work properly. -

  • An optional regular file named flag-essential. 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 s6-rc -d change foo -command will not stop the service. Only a s6-rc -D change foo -command will.
  • -- cgit v1.3.1