about summary refs log tree commit homepage
path: root/lib/unicorn.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/unicorn.rb')
-rw-r--r--lib/unicorn.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/unicorn.rb b/lib/unicorn.rb
index 7a2eda2..bb2b170 100644
--- a/lib/unicorn.rb
+++ b/lib/unicorn.rb
@@ -32,10 +32,12 @@ module Unicorn
       :umask => File.umask,
     }.freeze
 
+    DEFAULT_LOGGER = Logger.new(STDERR)
+
     DEFAULTS = {
       :timeout => 60,
-      :listeners => %w(0.0.0.0:8080),
-      :logger => Logger.new(STDERR),
+      :listeners => [ Const::DEFAULT_LISTEN ],
+      :logger => DEFAULT_LOGGER,
       :nr_workers => 1,
       :hot_config_file => nil,
       :after_fork => lambda { |server, worker_nr|