By inspecting bin/unicorn I've realized that "--pid" file exists but it's
deprecated:
opts.on("-P", "--pid FILE", "DEPRECATED") do |f|
warn %q{Use of --pid/-P is strongly discouraged}
warn %q{Use the 'pid' directive in the Unicorn config file instead}
options[:pid] = f
end
Could I know why? In order to build a service init script is really common the
init script to handle the PID file so it can start, restart or stop the
process runnining under that PID value.
Which is the real advantage of using "pid" directive in config file rather
than "--pid"?
Thanks.
--
Iñaki Baz Castillo <[email protected]>
_______________________________________________
Unicorn mailing list - [email protected]
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying