From d4ce4dc23a189daae4310f9b727ea92454b734ab Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 31 Dec 2019 01:20:10 +0000 Subject: Add s6-frontend-alias* documentation --- doc/s6-frontend-alias-chpst.html | 52 +++++++++++++++++++--- doc/s6-frontend-alias-sv.html | 35 ++++++++++++--- doc/s6-frontend-alias.html | 95 ++++++++++++++++++++++++++++++++++++++-- 3 files changed, 168 insertions(+), 14 deletions(-) diff --git a/doc/s6-frontend-alias-chpst.html b/doc/s6-frontend-alias-chpst.html index 6c2fe2d..8cfe011 100644 --- a/doc/s6-frontend-alias-chpst.html +++ b/doc/s6-frontend-alias-chpst.html @@ -16,25 +16,67 @@ skarnet.org

-

The s6-frontend-alias-chpst program

+

The s6-frontend-alias-chpst program

-s6-frontend-alias-chpst +s6-frontend-alias-chpst implements +runit's +chpst command +by rewriting itself into a command line made of idiomatic +chainloading s6 commands.

Interface

-     s6-frontend-alias-chpst
+     s6-frontend-alias-chpst [ -v ] [ -P ] [ -0 ] [ -1 ] [ -2 ] [ -u user ] [ -U user ] [ -b argv0 ] [ -e dir ] [ -/ root ] [ -n inclock ] [ -m bytes ] [ -d bytes ] [ -o n ] [ -p n ] [ -f bytes ] [ -c bytes ] prog...
 

+ When s6-frontend has been configured with the +--enable-aliases-runit option, the +s6-frontend-alias-chpst program is built, and at installation +time, a chpst symbolic link is created, pointing to it.

-

Options

+

+ s6-frontend-alias-chpst implements most of the functionality of +chpst, as closely as +possible. It does so by rewriting itself into a command line that may +invoke one or more of the following programs: +

+ + + +

Notes

diff --git a/doc/s6-frontend-alias-sv.html b/doc/s6-frontend-alias-sv.html index 8c1f92a..a619661 100644 --- a/doc/s6-frontend-alias-sv.html +++ b/doc/s6-frontend-alias-sv.html @@ -16,25 +16,50 @@ skarnet.org

-

The s6-frontend-alias-sv program

+

The s6-frontend-alias-sv program

-s6-frontend-alias-sv +s6-frontend-alias-sv implements +runit's +sv command over a +s6 supervision tree, via +native s6 commands. +

Interface

-     s6-frontend-alias-sv
+     s6-frontend-alias-sv [ -v ] [ -w secs ] command services...
 

+ When s6-frontend has been configured with the +--enable-aliases-runit option, the +s6-frontend-alias-sv program is built, and at installation +time, a sv symbolic link is created, pointing to it. +

+ +

+ s6-frontend-alias-sv implements most of the functionality of +sv, as closely as +possible. When some functionality cannot be emulated on a s6 +supervision tree, it prints an error message to stderr and exits 100.

-

Options

+

Notes

diff --git a/doc/s6-frontend-alias.html b/doc/s6-frontend-alias.html index 4e824c9..369c792 100644 --- a/doc/s6-frontend-alias.html +++ b/doc/s6-frontend-alias.html @@ -16,25 +16,112 @@ skarnet.org

-

The s6-frontend-alias program

+

The s6-frontend-alias program

-s6-frontend-alias +s6-frontend-alias is a multicall binary that implements +functionality from the +daemontools package, +and/or from the +runit package, whenever +possible, via +s6 commands.

Interface

-     s6-frontend-alias
+     s6-frontend-alias [ -v ] daemontools_command args...
+     s6-frontend-alias [ -v ] runit_command args...
+     daemontools_command args...
+     runit_command args...
 

+s6-frontend-alias can be called as is: then it takes the command +name as its argument. Or, it can be called directly as the wanted command. +It finds the closest approximation of the command in the s6 world, and +executes into it. When it cannot find a suitable idiomatic s6 version of +the wanted command, it prints an explanatory message to stderr, then +exits 100. +

+ +

+s6-frontend-alias is only built when at least one of the +--enable-alias-daemontools and --enable-alias-runit +options have been given to configure at build time. +

+ +

+When the --enable-alias-daemontools option has been given, +the following commands are created at installation time as symbolic +links to s6-frontend-alias, which recognizes them: +

+ + + +

+When the --enable-alias-runit option has been given, +the following commands are created at installation time as symbolic +links to s6-frontend-alias, which recognizes them: +

+ + + +

+(The chpst and sv runit commands are recognized +by s6-frontend-alias, but handled by specific programs, +s6-frontend-alias-chpst and +s6-frontend-alias-sv, and the +chpst and sv symbolic links point directly to those +programs.)

Options

+ +

Notes

+ + -- cgit v1.2.3