about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-11-11 22:48:46 +0000
committerEric Wong <e@80x24.org>2015-11-11 22:49:58 +0000
commit4fb84823e327de868a14c4158cedf1dc7751d3fc (patch)
treec99f7ae0f00186168fbdbbad3ed3cfa2117fde70
parent1a08a350c0b504ff31acf0e3ac0b6cdfe75ef521 (diff)
downloadcmogstored-4fb84823e327de868a14c4158cedf1dc7751d3fc.tar.gz
This has always been supported internally, and we can't stop
supporting it since we'll be supporting upgrades from old versions
indefinitely.  So document it, as it has some minor advantages over
the LISTEN_{FDS,PID} environment handling of systemd.
-rw-r--r--cmogstored.x6
1 files changed, 6 insertions, 0 deletions
diff --git a/cmogstored.x b/cmogstored.x
index a6b96e6..20eeb36 100644
--- a/cmogstored.x
+++ b/cmogstored.x
@@ -22,6 +22,12 @@ different sockets, the command line or config file must still specify
 which addresses to listen on.  This feature is available in cmogstored
 1.5.0 and later.
 
+CMOGSTORED_FD - a comma-delimited list of integer file descriptors.
+This is used internally for SIGUSR2 upgrades, but may be specified
+at startup (e.g. via env(1)) as it is not tied to LISTEN_PID
+like LISTEN_FDS is.  Unlike LISTEN_FDS, CMOGSTORED_FD does not rely
+on inherited file descriptors being contiguous.
+
 See MALLOC TUNING for environment variables which may affect memory
 usage.