diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2021-08-18 18:53:15 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2021-08-18 18:53:15 +0000 |
commit | a72e31a4cf98a31a0f578cccded21fcd8cc2d3c0 (patch) | |
tree | 367c5fe62e43f7846622632c8f5fb0c5cbefae1f /doc | |
parent | 3b06d3bf457a2f04cc1b91457b7050743b7e2ed6 (diff) | |
download | s6-a72e31a4cf98a31a0f578cccded21fcd8cc2d3c0.tar.xz |
More s6-socklog doc fixes
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/s6-socklog.html | 14 |
1 files changed, 9 insertions, 5 deletions
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 <em>notif</em> then close it. This allows <tt>s6-socklog</tt> to use the <a href="notifywhenup.html">s6 mechanism to notify readiness</a>. <em>notif</em> cannot be lesser than 3. If this option is not given, no readiness notification is sent. </li> - <li> <tt>-u <em>uid</em></tt> : set the process' user ID to <em>uid</em> </li> - <li> <tt>-g <em>gid</em></tt> : set the process' group ID to <em>gid</em> </li> - <li> <tt>-G <em>gidlist</em></tt> : set the process' supplementary group list + <li> <tt>-u <em>uid</em></tt> : drop user id to <em>uid</em> </li> + <li> <tt>-g <em>gid</em></tt> : drop group ID to <em>gid</em> </li> + <li> <tt>-G <em>gidlist</em></tt> : set supplementary group list to <em>gidlist</em>, which must be given as a comma-separated list of numeric GIDs, without spaces. </li> - <li> <tt>-U</tt> : set the process' user ID, group ID and supplementary group list + <li> <tt>-U</tt> : set user ID, group ID and supplementary group list to the values of the UID, GID and GIDLIST environment variables. If a <tt>-u</tt>, <tt>-g</tt> or <tt>-G</tt> option is given after <tt>-U</tt>, the command line value overrides the environment variable. </li> @@ -109,7 +109,11 @@ is a combination of <em>ip</em>, which must be an IPv4 or IPv6 address, and <em>port</em>, which must be an integer. <em>port</em> may be omitted, in which case it defaults to 514. If <em>port</em> is given, <em>ip</em> and <em>port</em> must be separated by a <tt>_</tt> character (an underscore). If <em>ip</em> is -IPv4, a <tt>:</tt> (colon) can be used instead of an underscore. </li> +IPv4, a <tt>:</tt> (colon) can be used instead of an underscore. When this +option is used, <tt>s6-socklog</tt> will prepend every log line with +<tt><em>clientip</em>_<em>clientport</em>: </tt>, <em>clientip</em> and +<em>clientport</em> being the IP address and port of the client that sent +the log datagram.</li> </ul> <h2> Typical use </h2> |