about summary refs log tree commit homepage
path: root/bin
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-03-09 16:45:55 -0700
committerEric Wong <normalperson@yhbt.net>2009-03-09 16:45:55 -0700
commitac6ace3a978b4074b6af6de982e2b6543b7f42cb (patch)
tree01d8e53bc2f1abe1b5ceb236ce0e8216bf08b25c /bin
parent32a5a5e91bd78795f546e2a8b8b775f1e1989ed9 (diff)
downloadunicorn-ac6ace3a978b4074b6af6de982e2b6543b7f42cb.tar.gz
This allows config.ru files to be shared by rackup and
unicorn without errors.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/unicorn5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/unicorn b/bin/unicorn
index a13facc..ebf57c3 100755
--- a/bin/unicorn
+++ b/bin/unicorn
@@ -67,6 +67,11 @@ opts = OptionParser.new("", 24, '  ') do |opts|
     options[:pid] = File.expand_path(f)
   end
 
+  opts.on("-s", "--server SERVER",
+          "this flag only exists for compatibility") do |s|
+    warn "-s/--server only exists for compatibility with rackup"
+  end
+
   # Unicorn-specific stuff
   opts.on("-l", "--listen {HOST:PORT|PATH}",
           "listen on HOST:PORT or PATH",