aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorStephen Larew2012-06-20 01:29:13 -0400
committerAdam Vandenberg2012-06-21 20:37:25 -0700
commitd34b2b10bbe03bf0dceafb0d54adb7c44b68376a (patch)
tree8bb151cd9438fa6536ec17cec58499e992a25ea5 /Library
parent768ee939a6df680f468c3f3a0b82de5557c4a490 (diff)
downloadhomebrew-d34b2b10bbe03bf0dceafb0d54adb7c44b68376a.tar.bz2
nginx: fixed KeepAlive in launchd plist
Nginx daemonizes which launchd doesn't like. Launchd would try to relaunch nginx due to the KeepAlive=true attribute. By setting KeepAlive to false and letting nginx daemonize, launchd is pacified. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/nginx.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/Library/Formula/nginx.rb b/Library/Formula/nginx.rb
index b076cb05e..fcb211637 100644
--- a/Library/Formula/nginx.rb
+++ b/Library/Formula/nginx.rb
@@ -90,14 +90,12 @@ class Nginx < Formula
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
- <true/>
+ <false/>
<key>UserName</key>
<string>#{`whoami`.chomp}</string>
<key>ProgramArguments</key>
<array>
<string>#{HOMEBREW_PREFIX}/sbin/nginx</string>
- <string>-g</string>
- <string>daemon off;</string>
</array>
<key>WorkingDirectory</key>
<string>#{HOMEBREW_PREFIX}</string>