Skip to content

Commit

Permalink
commmooooon rabbitmq
Browse files Browse the repository at this point in the history
  • Loading branch information
dudemeister committed Aug 22, 2011
1 parent 14ae55f commit 96050d9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rabbitmq.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
"$CONTROL status | grep \"pid,[0-9]*\" | grep -o \"[0-9]*\" > /var/run/rabbitmq.pid\necho SUCCESS",
"/etc/init.d/rabbitmq-server")
# stop and restart the rabbitmq server to reflect changes
sudo("/etc/init.d/rabbitmq-server restart")
puts "foo"
sudo("/etc/init.d/rabbitmq-server restart >/dev/null 2>&1")
}
end

Expand Down

0 comments on commit 96050d9

Please sign in to comment.