diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-03-04 11:11:44 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-03-04 11:11:44 -0800 |
commit | 551789f8619b567333bbf41020323f4e1624841c (patch) | |
tree | 0785474d929b9708b0f76916c5b8e582a0fefcfd /lib/unicorn/configurator.rb | |
parent | b9db429c2bac961f8ef040d3dc2061ab14a94a5b (diff) | |
download | unicorn-551789f8619b567333bbf41020323f4e1624841c.tar.gz |
Unicorn will always continue to run in the directory it started in, it does not chdir to "/". Since the default start_ctx[:cwd] is symlink-aware, this should not be a problem for Capistrano-deployed applications.
Diffstat (limited to 'lib/unicorn/configurator.rb')
-rw-r--r-- | lib/unicorn/configurator.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/unicorn/configurator.rb b/lib/unicorn/configurator.rb index 402204e..e01dbe1 100644 --- a/lib/unicorn/configurator.rb +++ b/lib/unicorn/configurator.rb @@ -28,7 +28,6 @@ module Unicorn :before_fork => lambda { |server, worker_nr| server.logger.info("worker=#{worker_nr} spawning...") }, - :directory => nil, :pid => nil, :backlog => 1024, :preload_app => false, @@ -142,10 +141,6 @@ module Unicorn # sets the +path+ for the PID file of the unicorn master process def pid(path); set_path(:pid, path); end - def directory(path) - @set[:directory] = path ? File.expand_path(path) : nil - end - def preload_app(bool) case bool when TrueClass, FalseClass |