about summary refs log tree commit homepage
path: root/unicorn.gemspec
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-10-27 13:51:12 -0700
committerEric Wong <normalperson@yhbt.net>2010-10-27 21:18:44 +0000
commit2dd4a89d5726e13b962c1e287d84a6c30f5dd46c (patch)
tree1ef77072b5af8fd748879342611de32c89c58567 /unicorn.gemspec
parent5e672c48d8a3555e4a01f653fb2e0b3556087737 (diff)
downloadunicorn-2dd4a89d5726e13b962c1e287d84a6c30f5dd46c.tar.gz
If a configuration directive is set at startup and later
unset, it correctly restores the original default value
as if it had never been set in the first place.

This applies to the majority of the configuration values with
a few exceptions:

* This only applies to stderr_path and stdout_path when
  daemonized (the usual case, they'll be redirected to
  "/dev/null").  When NOT daemonized, we cannot easily redirect
  back to the original stdout/stderr destinations.

* Unsetting working_directory does not restore the
  original working directory where Unicorn was started.
  As far as we can tell unsetting this after setting it is
  rarely desirable and greatly increases the probability of
  user error.
(cherry picked from commit 51b2b90284000aee8d79b37a5406173c45ae212d)
Diffstat (limited to 'unicorn.gemspec')
0 files changed, 0 insertions, 0 deletions