From 3c6fceea7bca1932081113c516da7a94b94fe9c6 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 6 May 2010 14:14:57 -0700 Subject: doc: kill Dir.chdir example Modern version of Unicorn have working_directory available and should use that instead. --- lib/unicorn.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/unicorn.rb b/lib/unicorn.rb index 70222f4..a363014 100644 --- a/lib/unicorn.rb +++ b/lib/unicorn.rb @@ -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: -- cgit v1.2.3-24-ge0c7