From a72e31a4cf98a31a0f578cccded21fcd8cc2d3c0 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Wed, 18 Aug 2021 18:53:15 +0000 Subject: More s6-socklog doc fixes Signed-off-by: Laurent Bercot --- doc/s6-socklog.html | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'doc/s6-socklog.html') diff --git a/doc/s6-socklog.html b/doc/s6-socklog.html index 7feb175..1292fb2 100644 --- a/doc/s6-socklog.html +++ b/doc/s6-socklog.html @@ -82,12 +82,12 @@ 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. If this option is not given, no readiness notification is sent. -
  • -u uid : set the process' user ID to uid
  • -
  • -g gid : set the process' group ID to gid
  • -
  • -G gidlist : set the process' supplementary group list +
  • -u uid : drop user id to uid
  • +
  • -g gid : drop group ID to gid
  • +
  • -G gidlist : set supplementary group list to gidlist, which must be given as a comma-separated list of numeric GIDs, without spaces.
  • -
  • -U : set the process' user ID, group ID and supplementary group list +
  • -U : set user ID, group ID and supplementary group list 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.
  • @@ -109,7 +109,11 @@ is a combination of ip, which must be an IPv4 or IPv6 address, and port, which must be an integer. port may be omitted, in which case it defaults to 514. If port is given, ip and port must be separated by a _ character (an underscore). If ip is -IPv4, a : (colon) can be used instead of an underscore. +IPv4, a : (colon) can be used instead of an underscore. When this +option is used, s6-socklog will prepend every log line with +clientip_clientport: , clientip and +clientport being the IP address and port of the client that sent +the log datagram.

    Typical use

    -- cgit 1.4.1