svn commit: r339337 - in head/net/rabbitmq: . files
Jimmy Olgeni
olgeni at FreeBSD.org
Fri Jan 10 09:29:05 UTC 2014
Author: olgeni
Date: Fri Jan 10 09:29:04 2014
New Revision: 339337
URL: http://svnweb.freebsd.org/changeset/ports/339337
Log:
Reset ERL_LIBS before running RabbitMQ.
ERL_LIBS was inherited from the current environment, and it may
contain paths to older versions of amqp_client, which may not be
compatible with the current RabbitMQ management plugin.
As a result, RabbitMQ would not start when the management plugin was
enabled, with this error:
{could_not_start,amqp_client,
{{supervisor_data,{invalid_strategy,simple_one_for_one_terminate}},
{amqp_client,start,[normal,[]]}}}
Modified:
head/net/rabbitmq/Makefile
head/net/rabbitmq/files/rabbitmq.in (contents, props changed)
Modified: head/net/rabbitmq/Makefile
==============================================================================
--- head/net/rabbitmq/Makefile Fri Jan 10 09:05:46 2014 (r339336)
+++ head/net/rabbitmq/Makefile Fri Jan 10 09:29:04 2014 (r339337)
@@ -3,6 +3,7 @@
PORTNAME= rabbitmq
PORTVERSION= 3.2.2
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://www.rabbitmq.com/releases/rabbitmq-server/v${PORTVERSION}/
DISTNAME= ${PORTNAME}-server-${PORTVERSION}
Modified: head/net/rabbitmq/files/rabbitmq.in
==============================================================================
--- head/net/rabbitmq/files/rabbitmq.in Fri Jan 10 09:05:46 2014 (r339336)
+++ head/net/rabbitmq/files/rabbitmq.in Fri Jan 10 09:29:04 2014 (r339337)
@@ -36,6 +36,7 @@ extra_commands="rotate_logs status"
rabbitmq_start()
{
HOME=/var/db/rabbitmq
+ unset ERL_LIBS
su -m ${rabbitmq_user} \
-c "sh -c \"${rabbitmq_server} -detached\""
# Grab pid (it appears that parsing the output of
More information about the svn-ports-all
mailing list