From 8bffa1c19fd05f4f04dad4b5b98f85b94f23113c Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Mon, 26 Jan 2015 22:26:57 +0000 Subject: - added s6-fdholder-delete(c) - small s6-fdholder-* fixes - s6-fdholder documentation (in review) - s6_svstatus_* bugfix (thanks Olivier Brunel) --- doc/s6-fdholder-retrieve.html | 98 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) create mode 100644 doc/s6-fdholder-retrieve.html (limited to 'doc/s6-fdholder-retrieve.html') diff --git a/doc/s6-fdholder-retrieve.html b/doc/s6-fdholder-retrieve.html new file mode 100644 index 0000000..5231051 --- /dev/null +++ b/doc/s6-fdholder-retrieve.html @@ -0,0 +1,98 @@ + + + + + s6: the s6-fdholder-retrieve program + + + + + + +

+s6
+Software
+skarnet.org +

+ +

The s6-fdholder-retrieve program

+ +

+s6-fdholder-retrieve connects to a +fd-holding daemon listening on a +Unix domain socket, and retrieves a file descriptor from that +daemon, then executes a program with that file descriptor as the +program's standard input. +

+ +

Interface

+ +
+     s6-fdholder-retrieve [ -D ] [ -t timeout ] path id prog...
+
+ + + +

Options

+ + + +

Usage example

+ +
+   s6-fdholder-store /service/fdholderd/s MYSOCKET s6-ipcserverd cat
+
+ +

+ will retrieve a file descriptor stored under the MYSOCKET identifier in +the s6-fdholderd daemon listening on the /service/fdholderd/s +socket, and execute into s6-ipcserverd cat with that file +descriptor as stdin. In this case, if MYSOCKET referred to a Unix domain +socket, s6-ipcserverd will then accept +client connections on it and spawn a cat program for every +connection. +

+ +

Notes

+ + + + + -- cgit v1.2.3