From 7913c09fd4166ad7849ddea556c74750e4279e2c Mon Sep 17 00:00:00 2001 From: Chris Hoffman Date: Sun, 11 Jul 2010 23:13:26 -0500 Subject: Have nginx save state between installs Signed-off-by: Adam Vandenberg --- Library/Formula/nginx.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Library') diff --git a/Library/Formula/nginx.rb b/Library/Formula/nginx.rb index 7be9054ff..064f4882c 100644 --- a/Library/Formula/nginx.rb +++ b/Library/Formula/nginx.rb @@ -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 -- cgit v1.2.3