summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-04-13 01:04:19 +0000
committerEric Wong <normalperson@yhbt.net>2011-04-13 01:04:19 +0000
commit46cc05089ea34b823454f790092f386f22d3adb1 (patch)
tree9a470e1fc04a3b34e491fcfcb7fd968a94ce2b07
parentc4d3cd7d7b32ed133e25e3740c8e7a3493592eec (diff)
Configurator itself supports user at the top-level.
-rw-r--r--lib/unicorn/configurator.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/unicorn/configurator.rb b/lib/unicorn/configurator.rb
index 8913928..6986e79 100644
--- a/lib/unicorn/configurator.rb
+++ b/lib/unicorn/configurator.rb
@@ -132,11 +132,6 @@ class Unicorn::Configurator
   #    # Existing options for Unicorn::Configurator#listen such as
   #    # :backlog, :rcvbuf, :sndbuf are available here as well.
   #    server.listen(addr, :tries => -1, :delay => 5, :backlog => 128)
-  #
-  #    # drop permissions to "www-data" in the worker
-  #    # generally there's no reason to start Unicorn as a priviledged user
-  #    # as it is not recommended to expose Unicorn to public clients.
-  #    worker.user('www-data', 'www-data') if Process.euid == 0
   #  end
   def after_fork(*args, &block)
     set_hook(:after_fork, block_given? ? block : args[0])