diff options
| author | Mike McQuaid | 2013-09-12 17:35:02 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2013-09-12 17:53:22 +0100 |
| commit | dfc5b737c0513f542771113d89d0213f0696f3f4 (patch) | |
| tree | 649697f28c486e8f8338c9cfde25c4db9d491dab /Library/Formula | |
| parent | 455fc25e6f2d0e627b44d85af04646eb96748455 (diff) | |
| download | homebrew-dfc5b737c0513f542771113d89d0213f0696f3f4.tar.bz2 | |
nginx: make caveats more concise.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/nginx.rb | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/Library/Formula/nginx.rb b/Library/Formula/nginx.rb index 1cf8a33e4..0fdb85b17 100644 --- a/Library/Formula/nginx.rb +++ b/Library/Formula/nginx.rb @@ -134,17 +134,15 @@ class Nginx < Formula s = <<-EOS.undent Docroot is: #{HOMEBREW_PREFIX}/var/www - The default port has been set to 8080 so that nginx can run without sudo. - - If you want to host pages on your local machine to the wider network you - can change the port to 80 in: #{HOMEBREW_PREFIX}/etc/nginx/nginx.conf - - You will then need to run nginx as root: `sudo nginx`. + The default port has been set in #{HOMEBREW_PREFIX}/etc/nginx/nginx.conf to 8080 so that + nginx can run without sudo. EOS s << passenger_caveats if build.include? 'with-passenger' s end + plist_options :manual => 'nginx' + def plist; <<-EOS.undent <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> |
