|author||Eric Wong <email@example.com>||2010-05-06 14:14:57 -0700|
|committer||Eric Wong <firstname.lastname@example.org>||2010-05-06 14:15:20 -0700|
Modern version of Unicorn have working_directory available and should use that instead.
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/unicorn.rb b/lib/unicorn.rb
index 70222f4..a363014 100644
@@ -137,12 +137,6 @@ module Unicorn
# * :cwd - the working directory of the application, this is where
# you originally started Unicorn.
- # The following example may be used in your Unicorn config file to
- # change your working directory during a config reload (HUP) without
- # upgrading or restarting:
- # Dir.chdir(Unicorn::HttpServer::START_CTX[:cwd] = path)
# To change your unicorn executable to a different path without downtime,
# you can set the following in your Unicorn config file, HUP and then
# continue with the traditional USR2 + QUIT upgrade steps: