diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2019-07-03 15:50:50 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2019-07-03 15:50:50 +0000 |
commit | 2d0e823aa9f574fa0291f716c8a7e45bafe464d3 (patch) | |
tree | 521495c64670033ff46d04b655a2c34a3411aac8 /doc/s6-fdholder-transferdumpc.html | |
parent | 1d69f26f58e72ceaab5aeda7df874faf7b46a5f3 (diff) | |
download | s6-2d0e823aa9f574fa0291f716c8a7e45bafe464d3.tar.xz |
Update doc to reflect the removal of s6-fdholder-*c programs
Diffstat (limited to 'doc/s6-fdholder-transferdumpc.html')
-rw-r--r-- | doc/s6-fdholder-transferdumpc.html | 84 |
1 files changed, 0 insertions, 84 deletions
diff --git a/doc/s6-fdholder-transferdumpc.html b/doc/s6-fdholder-transferdumpc.html deleted file mode 100644 index 3f1cc22..0000000 --- a/doc/s6-fdholder-transferdumpc.html +++ /dev/null @@ -1,84 +0,0 @@ -<html> - <head> - <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - <meta http-equiv="Content-Language" content="en" /> - <title>s6: the s6-fdholder-transferdumpc program</title> - <meta name="Description" content="s6: the s6-fdholder-transferdumpc program" /> - <meta name="Keywords" content="s6 s6-fdholder fd-holding fd-holder fd dump transfer unix socket activation" /> - <!-- <link rel="stylesheet" type="text/css" href="//skarnet.org/default.css" /> --> - </head> -<body> - -<p> -<a href="index.html">s6</a><br /> -<a href="//skarnet.org/software/">Software</a><br /> -<a href="//skarnet.org/">skarnet.org</a> -</p> - -<h1> The <tt>s6-fdholder-transferdumpc</tt> program </h1> - -<p> -<tt>s6-fdholder-transferdumpc</tt> talks to two -<a href="s6-fdholderd.html">fd-holding daemons</a>: the source of the -transfer on its -standard input, and the destination of the transfer on its standard output, -both being -open Unix domain sockets. It retrieves the entire storage state of -the source daemon and dumps it into the destination daemon. -</p> - -<h2> Interface </h2> - -<pre> - s6-fdholder-transferdumpc [ -t <em>timeoutfrom</em> ] [ -T timeoutto ] -</pre> - -<ul> - <li> s6-fdholder-transferdumpc expects to talk to a listening -<a href="s6-fdholderd.html">s6-fdholderd</a> program on its descriptor 0 and -to another one on its descriptor 1. </li> - <li> It gets the entire set of file descriptors from the first -server, with their identifiers and possibly expiration dates. </li> - <li> It stores that set into the second server. The set is -<em>added</em> to the second server, which keeps the descriptors -it was already holding. </li> - <li> It then exits 0, or 1 if a server returned an error. </li> -</ul> - -<h2> Options </h2> - -<ul> -<li> <tt>-t <em>timeoutfrom</em></tt> : if the set-retrieving -operation cannot be processed in <em>timeoutfrom</em> milliseconds, then -fail with an error message. -Communications with the server should be near-instant, so this option is -only here to protect users against programming errors. </li> -<li> <tt>-T <em>timeoutto</em></tt> : same thing with the -set-storing operation. </li> -</ul> - -<h2> Notes </h2> - -<ul> - <li> s6-fdholder-transferdumpc is the "internal" version of -<a href="s6-fdholder-transferdump.html">s6-fdholder-transferdump</a>. It simply -expects to be run with file descriptors already open to both -servers; <a href="s6-fdholder-transferdump.html">s6-fdholder-transferdump</a> -takes care of all the plumbing. </li> - <li> The error messages for the s6-fdholder suite are explained -<a href="s6-fdholder-errorcodes.html">here</a>. </li> - <li> Dumping the entire state of <a href="s6-fdholderd.html">s6-fdholderd</a> -requires special authorizations. Make sure the s6-fdholderd instances are -<a href="s6-fdholderd.html#configuration">configured</a> to accept -dump-getting and dump-setting requests from your client. </li> - <li> A typical use case of -<a href="s6-fdholder-transferdump.html">s6-fdholder-transferdump</a> and -s6-fdholder-transferdumpc is when the main fd-holding daemon needs to -upgrade, or restart for some reason. Transferring the file descriptors -into another, temporary fd-holding daemon instance allows it to -restart without losing the descriptors. </li> -</ul> - -</body> -</html> |