diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-02-09 21:20:17 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-02-09 21:20:17 -0800 |
commit | 2abb663f6e20f9bc0f14ac00c0edeb57bf3f43e0 (patch) | |
tree | 5a6d412d1c5fccfa1342037a58db54b3a9cfcd12 | |
parent | 302beb7158a7217a3c8e5499ef98b33c284b1dd8 (diff) | |
download | unicorn-2abb663f6e20f9bc0f14ac00c0edeb57bf3f43e0.tar.gz |
Workers have no business knowing these things...
-rw-r--r-- | lib/unicorn.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/unicorn.rb b/lib/unicorn.rb index 3389846..c0474c6 100644 --- a/lib/unicorn.rb +++ b/lib/unicorn.rb @@ -355,6 +355,8 @@ module Unicorn @start_ctx.clear @mode = @start_ctx = @workers = @rd_sig = @wr_sig = nil @listeners.each { |sock| set_cloexec(sock) } + ENV.delete('UNICORN_DAEMONIZE') + ENV.delete('UNICORN_FD') end # runs inside each forked worker, this sits around and waits |