S6-IPCCLIENT(8)

πŸ“¦ version 2.15.1.0, in nixpkgs unstable

πŸ’– s6-ipcclient(8) β€” bestie, we’re connecting to a Unix socket πŸ’–

okay so this is the System Manager's Manual page for s6-ipcclient, the UCSPI client tool[1] for Unix domain sockets: connect to a socket, then execute into a program. fr fr it’s giving tiny networking magic ✨


🌸 NAME 🌸

s6-ipcclient β€” UCSPI client tool[1] for Unix domain sockets: connect to a socket, then execute into a program.

πŸŽ€ SYNOPSIS πŸŽ€

s6-ipcclient [-q | -Q | -v] [-p localpath] [-l localname] path prog...

πŸ¦‹ DESCRIPTION πŸ¦‹

s6-ipcclient connects to a Unix domain socket on path.

It executes into prog... with descriptor 6 reading from the socket and descriptor 7 writing to it.

s6-ipcclient is mostly used to connect a client to an s6-local-service(7) without having to implement networking in the client. For instance, the s6-sudo(8) program does this. slay πŸ’…

✨ OPTIONS ✨

  • -q β€” be quiet. 🀫
  • -Q β€” be normally verbose. This is the default. πŸ’…
  • -v β€” be verbose. πŸ—£οΈ
  • -p localpath β€” bind the local socket to localpath before connecting to path. πŸŽ€
  • -l localname β€” use localname as the value of the IPCLOCALPATH environment variable. 🫢

🌈 ENVIRONMENT 🌈

prog... is run with these variables set:

  • PROTO β€” always set to IPC. periodt.
  • IPCLOCALPATH β€” set to the path associated with the local socket, if any. Be aware that it may contain arbitrary characters. 😭

πŸ‘‘ SEE ALSO πŸ‘‘

Also: [1] the UCSPI protocol doc lives at https://cr.yp.to/proto/ucspi.txt πŸ’œ

This man page is ported from the authoritative documentation at: https://skarnet.org/software/s6/s6-ipcclient.html 🌟

πŸŽ€ AUTHORS πŸŽ€

  • Laurent Bercot πŸ’–
  • Alexis <flexibeast@gmail.com> (man page port) 🫢

with love from Debian, page S6-IPCCLIENT(8), dated September 29, 2021 β€” mwah πŸ’‹

πŸ“¦ where this page comes from