[rabbitmq-discuss] MacPort for RabbitMQ Server 1.5.3
Tony Garnock-Jones
tonyg at lshift.net
Fri Feb 27 17:44:14 GMT 2009
Hi Chris,
Thanks so much for picking this up. I'd been meaning to get around to it
for far too long now.
Chris Pettitt wrote:
> I hope this will be of help to the community. If there is interest
> from the RabbitMQ team I would be happy to submit it to the MacPorts
> repository.
Absolutely. I've just checked it in, and as luck would have it, I have
my mac with me today, so I'm about to try it out.
> To start the server, you can either use launchctl (see instructions
> emitted during MacPort install) or you can start it from the command
> line with: sudo -H -u rabbitmq rabbitmq-server
>
> rabbitmqctl automatically (through sudo) runs in the context of the
> rabbitmq user so that the Erlang cookie can be read from
> $MACPORTS_PREFIX/var/lib/rabbitmq/.erlang.cookie
This is good stuff. We'll have to update our website with this information.
> * When tonyg submitted the original MacPort he commented that calling
> launchctl stop on the server would cause the process to exit and
> restart. This appears to be the default behavior for launchd -
> unloading it stops the reload process. I suspect setting KeepAlive to
> false will have the same effect. In any case, I left it to restart
> automatically, but I'm open to suggestions on the behavior.
Excellent! Thanks very much, I'm glad someone who understands this took
a look. I have no opinion on the matter -- I just want it to do
whatever's most correct for the platform.
Regards,
Tony
--
[][][] Tony Garnock-Jones | Mob: +44 (0)7905 974 211
[][] LShift Ltd | Tel: +44 (0)20 7729 7060
[] [] http://www.lshift.net/ | Email: tonyg at lshift.net
More information about the rabbitmq-discuss
mailing list