From 9bf94d170fd0d5540be8c6337f53ed71dbca268a Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sun, 7 Jan 2024 21:23:53 +0000 Subject: Remove s6-tcpserver[4|6] mentions from doc (now unified) Signed-off-by: Laurent Bercot --- doc/s6-connlimit.html | 7 +++---- doc/s6-envuidgid.html | 2 +- doc/socket-activation.html | 10 ++++------ 3 files changed, 8 insertions(+), 11 deletions(-) (limited to 'doc') diff --git a/doc/s6-connlimit.html b/doc/s6-connlimit.html index ea0aaf5..744f652 100644 --- a/doc/s6-connlimit.html +++ b/doc/s6-connlimit.html @@ -46,9 +46,8 @@ no maximum number of connections has been defined.

Usage

- The s6-tcpserver4 and -s6-tcpserver6 programs -define the PROTO environment variable to "TCP", and spawn every child server with the TCPCONNNUM environment + The s6-tcpserver program +defines the PROTO environment variable to "TCP", and spawns every child server with the TCPCONNNUM environment variable set to the number of connections from the same IP address. The s6-tcpserver-access program can set environment variables depending on the client's IP address. If the @@ -72,7 +71,7 @@ of client connections by UID.

-     s6-tcpserver4 -v2 -c1000 -C40 1.2.3.4 80 \
+     s6-tcpserver -v2 -c1000 -C40 1.2.3.4 80 \
      s6-tcpserver-access -v2 -RHl0 -i dir \
      s6-connlimit \
      prog...
diff --git a/doc/s6-envuidgid.html b/doc/s6-envuidgid.html
index cb8e299..f9ed1b1 100644
--- a/doc/s6-envuidgid.html
+++ b/doc/s6-envuidgid.html
@@ -78,7 +78,7 @@ supplementary groups. 
  
  • s6-envuidgid is useful when running a program that must start as root but can drop its privileges later. Such a program can read its new uid/gid/groups info from the UID, GID and GIDLIST environment variables. Super-servers such as -s6-tcpserver4 +s6-tcpserver make use of this.
  • diff --git a/doc/socket-activation.html b/doc/socket-activation.html index e6baaa2..41c0e12 100644 --- a/doc/socket-activation.html +++ b/doc/socket-activation.html @@ -34,9 +34,8 @@ because doing so is bad engineering. However, it will help you set up super-servers. The s6-ipcserver program, for Unix domain sockets, as well as the -s6-tcpserver4 and -s6-tcpserver6 -programs, for TCP INET domain sockets (available in the +s6-tcpserver +program, for TCP INET domain sockets (available in the s6-networking package) are super-servers you can use to your heart's content. They are even wrappers around simpler programs, @@ -56,9 +55,8 @@ never lose logs: s6-svscan.
  • ways to open your sockets and bind them as early as you want in your boot process, and make them accept client connections later: -s6-ipcserver-socketbinder, -s6-tcpserver4-socketbinder and -s6-tcpserver6-socketbinder. +s6-ipcserver-socketbinder and +s6-tcpserver-socketbinder.
  • A supervision infrastructure that can start as many services in parallel as you want: -- cgit v1.2.3