[rabbitmq-discuss] Stopping
Terry Jones
terry at jon.es
Mon Nov 10 16:11:08 GMT 2008
Earlier, Matthias wrote:
>>>>> "Matthias" == Matthias Radestock <matthias at lshift.net> writes:
Matthias> For starting a several nodes with unrelated names and ports I
Matthias> recommend using the rabbitmq-server script, rather than
Matthias> rabbitmq-multi. You can stop the nodes individually with
Matthias> rabbitmqctl.
I'm now automating some starting/stopping of rabbit, and looking in
rabbitmqctl_real I see this:
MNESIA_BASE=/var/lib/rabbitmq/mnesia
LOG_BASE=/var/log/rabbitmq
ERL_ARGS=
MNESIA_DIR=${MNESIA_BASE}/${NODENAME}
These variables are simply set brute force. They don't give the caller a
chance to pass values in (the way other Rabbitmq scripts tend to).
And... the variables are not even used in the script.
So I'm wondering if they should be there at all. If it's the case that the
erl process uses them, they should also be exported. If I happen to have
exported them in my environment, you overwrite my settings.
My guess is they shouldn't be there at all. I'd be happy to know for sure,
as I'm starting rabbitmq via passing it a custom value for LOG_BASE. BTW,
does /var/lib/rabbitmq get created when Rabbitmq is installed? It doesn't
look like there's anything in there that grows bigger over time. Right?
Regards,
Terry
More information about the rabbitmq-discuss
mailing list