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.html | 95 ++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 91 insertions(+), 4 deletions(-) (limited to 'doc/s6-frontend-alias.html') 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.3.1