From a0384e6adeb4e9d072cc2fa39a47212ee784ecf8 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 30 Sep 2009 23:51:13 -0700 Subject: manpages: document environment variables Mostly for `unicorn_rails`, but TMPDIR is universal. --- Documentation/unicorn.1.txt | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Documentation/unicorn.1.txt') diff --git a/Documentation/unicorn.1.txt b/Documentation/unicorn.1.txt index 205912b..3cea079 100644 --- a/Documentation/unicorn.1.txt +++ b/Documentation/unicorn.1.txt @@ -143,6 +143,15 @@ are never loaded by default. If needed, they should be individually specified in the RACKUP_FILE, some frameworks do not require them. +# ENVIRONMENT VARIABLES + +All application or library-specific environment variables (e.g. TMPDIR) +may always be set in the Unicorn CONFIG_FILE in addition to the spawning +shell. When transparently upgrading Unicorn, all environment variables +set in the old master process are inherited by the new master process. +Unicorn only uses (and will overwrite) the UNICORN_FD environment +variable internally when doing transparent upgrades. + # SEE ALSO * unicorn_rails(1) -- cgit v1.2.3-24-ge0c7