From d34b2b10bbe03bf0dceafb0d54adb7c44b68376a Mon Sep 17 00:00:00 2001 From: Stephen Larew Date: Wed, 20 Jun 2012 01:29:13 -0400 Subject: 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 --- Library/Formula/nginx.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Library/Formula') 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 RunAtLoad KeepAlive - + UserName #{`whoami`.chomp} ProgramArguments #{HOMEBREW_PREFIX}/sbin/nginx - -g - daemon off; WorkingDirectory #{HOMEBREW_PREFIX} -- cgit v1.2.3