From 4414d9bf34f162a604d2aacc765ab1ca2fc90404 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 27 Feb 2009 17:04:13 -0800 Subject: Remove -P/--pid switch from CLI It's confusing with the lowercase "-p" option which is more common for developers to use. PID files are only needed for production deployments, and those should be using config files anyways. --- bin/unicorn | 4 ---- 1 file changed, 4 deletions(-) (limited to 'bin') diff --git a/bin/unicorn b/bin/unicorn index c306c98..30a4dfa 100755 --- a/bin/unicorn +++ b/bin/unicorn @@ -66,10 +66,6 @@ opts = OptionParser.new("", 24, ' ') do |opts| daemonize = d ? true : false end - opts.on("-P", "--pid FILE", "file to store PID (default: none)") do |f| - options[:pid] = File.expand_path(f) - end - # Unicorn-specific stuff opts.on("-l", "--listen {HOST:PORT|PATH}", "listen on HOST:PORT or PATH", -- cgit v1.2.3-24-ge0c7