From 0ba5fd00ec4e1e25bb868b2b5a7b98d24b56197e Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sat, 25 Sep 2021 09:45:27 +0000 Subject: Doc fixes, s6-socklog min linelen -> 76, s6-ioconnect fixes Signed-off-by: Laurent Bercot --- doc/s6-socklog.html | 6 +++--- doc/s6-svlink.html | 4 ++-- doc/s6-svunlink.html | 8 +++---- src/conn-tools/s6-ioconnect.c | 42 +++++++++++++++++++------------------ src/daemontools-extras/s6-socklog.c | 2 +- 5 files changed, 32 insertions(+), 30 deletions(-) diff --git a/doc/s6-socklog.html b/doc/s6-socklog.html index 3f66cdc..d10a517 100644 --- a/doc/s6-socklog.html +++ b/doc/s6-socklog.html @@ -45,7 +45,7 @@ with a few more features.
  • It prints the log line to its stdout, terminated by a newline.
  • @@ -80,7 +80,7 @@ will not be converted to facility/priority names. (actually bound to its socket), write a newline to file descriptor notif then close it. This allows s6-socklog to use the s6 -mechanism to notify readiness. notif cannot be lesser than 3. +mechanism to notify readiness. notif cannot be less than 3. If this option is not given, no readiness notification is sent.
  • -u uid : drop user id to uid
  • -g gid : drop group id to gid
  • @@ -92,7 +92,7 @@ to the values of the UID, GID and GIDLIST environment variables. If a -u-g or -G option is given after -U, the command line value overrides the environment variable.
  • -l linelen : Set the maximum datagram size to -linelen. Default is 1024. It cannot be set to less than 80 or more than +linelen. Default is 1024. It cannot be set to less than 76 or more than 1048576. If a datagram is bigger than linelen, it will be truncated to linelen characters, and the logged line will end with a ... ellipsis to show the truncation.
  • diff --git a/doc/s6-svlink.html b/doc/s6-svlink.html index c1b9e94..5135ee4 100644 --- a/doc/s6-svlink.html +++ b/doc/s6-svlink.html @@ -48,7 +48,7 @@ is named name; if no name argument has been given, the name gi to the symbolic link is the basename of servicedir.
  • It sends a command to s6-svscan to signal it that a new service is available.
  • -
  • It waits for a s6-supervise process to be +
  • It waits for an s6-supervise process to be spawned on servicedir.
  • It exits 0.
  • @@ -105,7 +105,7 @@ supervisors one at a time, can be used instead.
  • If servicedir is logged, i.e. servicedir/log is also a valid service directory, then s6-svlink will wait until supervisors have been spawned for both the service and its logger.
  • -
  • s6-svlink sends a s6-svscanctl -a +
  • s6-svlink sends an s6-svscanctl -a command to scandir, which means that the system's view of services will be refreshed. Depending on what links exist in scandir, other services than servicedir may also appear.
  • diff --git a/doc/s6-svunlink.html b/doc/s6-svunlink.html index 371f5bd..5a4bf1b 100644 --- a/doc/s6-svunlink.html +++ b/doc/s6-svunlink.html @@ -65,14 +65,14 @@ managing the service directory to exit.
  • -X : don't wait. s6-svunlink will exit right away, without waiting for the supervisor to exit first.
  • -t timeout : if the supervisor has not exited -after timeout milliseconds, s6-svlink will still exit. -The default is 0, meaning no time limit..
  • +after timeout milliseconds, s6-svunlink will still exit. +The default is 0, meaning no time limit.

    Notes