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-store.html | 80 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 doc/s6-fdholder-store.html (limited to 'doc/s6-fdholder-store.html') diff --git a/doc/s6-fdholder-store.html b/doc/s6-fdholder-store.html new file mode 100644 index 0000000..c67927d --- /dev/null +++ b/doc/s6-fdholder-store.html @@ -0,0 +1,80 @@ + + + + + s6: the s6-fdholder-store program + + + + + + +

+s6
+Software
+skarnet.org +

+ +

The s6-fdholder-store program

+ +

+s6-fdholder-store connects to a +fd-holding daemon listening on a +Unix domain socket, and gives it a copy of one of its open file +descriptors for the daemon to hold. +

+ +

Interface

+ +
+     s6-fdholder-store [ -d fd ] [ -T fdtimeout ] [ -t timeout ] path id
+
+ + + +

Options

+ + + +

Usage example

+ +
+   s6-ipcserver-socketbinder /tmp/mysocket s6-fdholder-store /service/fdholderd/s MYSOCKET
+
+ +

+ will open a Unix domain socket, bind it to /tmp/mysocket and +listen to incoming connections, then give it to a +s6-fdholderd instance listening on +/service/fdholderd/s, with no expiration date, with the +"MYSOCKET" identifier. Another program will be able to retrieve the +socket later, using s6-fdholder-retrieve. +

+ + + -- cgit v1.2.3