Allow stderr_path and stdout_path to be set in the config
commit40fadd79cee6a26fc124ad42297754b88d5c59e5
authorEric Wong <normalperson@yhbt.net>
Tue, 3 Mar 2009 03:27:44 +0000 (2 19:27 -0800)
committerEric Wong <normalperson@yhbt.net>
Tue, 3 Mar 2009 19:14:59 +0000 (3 11:14 -0800)
tree3295854c96266b7a24cb5d64a59ce52071121e13
parent56aaf96ffccebf70bf98f41c64bf533cef68f802
Allow stderr_path and stdout_path to be set in the config

As opposed to doing this in the shell, this allows the files to
be reopened reliably after rotation.

While we're at it, use $stderr/$stdout instead of STDERR/STDOUT
since they seem to be more favored.
bin/unicorn
lib/unicorn.rb
lib/unicorn/configurator.rb
lib/unicorn/http_request.rb