Have nginx save state between installs

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Chris Hoffman 2010-07-11 23:13:26 -05:00 committed by Adam Vandenberg
parent ec96bf2e8f
commit 425592fcc5

View file

@ -41,7 +41,9 @@ class Nginx < Formula
end
def install
args = ["--prefix=#{prefix}", "--with-http_ssl_module", "--with-pcre"]
args = ["--prefix=#{prefix}", "--with-http_ssl_module", "--with-pcre",
"--conf-path=#{etc}/nginx/nginx.conf", "--pid-path=#{var}/run/nginx.pid",
"--lock-path=#{var}/nginx/nginx.lock"]
args << passenger_config_args if ARGV.include? '--with-passenger'
system "./configure", *args