s6-frontend
Software
skarnet.org
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.
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.)