diff options
author | Jimmy Olgeni <olgeni@FreeBSD.org> | 2014-01-10 09:29:04 +0000 |
---|---|---|
committer | Jimmy Olgeni <olgeni@FreeBSD.org> | 2014-01-10 09:29:04 +0000 |
commit | 43ce726eaefd4ed488570ff185991c5e9945f74c (patch) | |
tree | c59e63b35451d6932dc6c191dabe22049ba2e8b9 /net/rabbitmq | |
parent | - Convert to USES=tk (diff) |
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,[]]}}}
Notes
Notes:
svn path=/head/; revision=339337
Diffstat (limited to 'net/rabbitmq')
-rw-r--r-- | net/rabbitmq/Makefile | 1 | ||||
-rw-r--r-- | net/rabbitmq/files/rabbitmq.in | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/net/rabbitmq/Makefile b/net/rabbitmq/Makefile index 76009b2f1f6a..da86321c1107 100644 --- a/net/rabbitmq/Makefile +++ b/net/rabbitmq/Makefile @@ -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} diff --git a/net/rabbitmq/files/rabbitmq.in b/net/rabbitmq/files/rabbitmq.in index a24dd82a9c80..04f17b8215dd 100644 --- a/net/rabbitmq/files/rabbitmq.in +++ b/net/rabbitmq/files/rabbitmq.in @@ -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 |