aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2012-05-21 20:43:11 -0500
committerJack Nagel2012-05-21 20:43:11 -0500
commit3a635cbcea126e360b52350bd28aebc8340e3558 (patch)
tree384acfd483b1bb2e49f3bfbfac003b9446a3d12e /Library
parentd5bf599207fe170b4995e036407b2e663e2825c6 (diff)
downloadhomebrew-3a635cbcea126e360b52350bd28aebc8340e3558.tar.bz2
rabbitmq: fix audit warning
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/rabbitmq.rb13
1 files changed, 5 insertions, 8 deletions
diff --git a/Library/Formula/rabbitmq.rb b/Library/Formula/rabbitmq.rb
index ad3f142b7..1bee794e5 100644
--- a/Library/Formula/rabbitmq.rb
+++ b/Library/Formula/rabbitmq.rb
@@ -30,7 +30,7 @@ class Rabbitmq < Formula
enabled_plugins_path = etc+'rabbitmq/enabled_plugins'
enabled_plugins_path.write enabled_plugins unless enabled_plugins_path.exist?
- # Create the plist file
+ # Create the plist file
plist_path.write startup_plist
plist_path.chmod 0644
end
@@ -48,12 +48,12 @@ class Rabbitmq < Formula
launchctl load -w ~/Library/LaunchAgents/#{plist_path.basename}
Management Plugin enabled by default at http://localhost:55672
-
+
To start rabbitmq-server manually:
rabbitmq-server
EOS
end
-
+
def enabled_plugins
return <<-EOS.undent
[rabbitmq_management,rabbitmq_management_visualiser].
@@ -64,10 +64,10 @@ class Rabbitmq < Formula
return <<-EOS.undent
CONFIG_FILE=#{etc}/rabbitmq/rabbitmq
NODE_IP_ADDRESS=127.0.0.1
- NODENAME=rabbit@localhost
+ NODENAME=rabbit@localhost
EOS
end
-
+
def startup_plist
return <<-EOPLIST
<?xml version="1.0" encoding="UTF-8"?>
@@ -96,7 +96,4 @@ class Rabbitmq < Formula
</plist>
EOPLIST
end
-
end
-
-__END__