aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJames Aitken2011-05-04 16:48:37 +0100
committerAdam Vandenberg2011-05-26 22:26:37 -0700
commit60f54f4bacd7265b0a41d1dca4fe4dc5d342737d (patch)
tree93eed916eabbf7c396122c1691be4a734fdfaddc /Library
parent8a4bb31a986f312a8e414552d0d7baef421503ff (diff)
downloadhomebrew-60f54f4bacd7265b0a41d1dca4fe4dc5d342737d.tar.bz2
nginx: Change plist to match convention
The UTI should consist of a application-identifier base and a full application-identifier prefix according to the docs. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/nginx.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/Formula/nginx.rb b/Library/Formula/nginx.rb
index 7ffa92d16..2a83fe964 100644
--- a/Library/Formula/nginx.rb
+++ b/Library/Formula/nginx.rb
@@ -49,7 +49,7 @@ class Nginx < Formula
system "./configure", *args
system "make install"
- (prefix+'org.nginx.plist').write startup_plist
+ (prefix+'org.nginx.nginx.plist').write startup_plist
end
def caveats
@@ -63,8 +63,8 @@ any other web servers running port 80, of course.
You can start nginx automatically on login with:
mkdir -p ~/Library/LaunchAgents
- cp #{prefix}/org.nginx.plist ~/Library/LaunchAgents/
- launchctl load -w ~/Library/LaunchAgents/org.nginx.plist
+ cp #{prefix}/org.nginx.nginx.plist ~/Library/LaunchAgents/
+ launchctl load -w ~/Library/LaunchAgents/org.nginx.nginx.plist
CAVEATS
end
@@ -76,7 +76,7 @@ You can start nginx automatically on login with:
<plist version="1.0">
<dict>
<key>Label</key>
- <string>org.nginx</string>
+ <string>org.nginx.nginx</string>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>