From 4fb84823e327de868a14c4158cedf1dc7751d3fc Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 11 Nov 2015 22:48:46 +0000 Subject: doc: document CMOGSTORED_FDS in the manpage 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. --- cmogstored.x | 6 ++++++ 1 file changed, 6 insertions(+) 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. -- cgit v1.2.3-24-ge0c7