Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Mar 2018 11:10:44 +0000 (UTC)
From:      Jimmy Olgeni <olgeni@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r463787 - in head/net/rabbitmq: . files
Message-ID:  <201803071110.w27BAiML043216@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olgeni
Date: Wed Mar  7 11:10:44 2018
New Revision: 463787
URL: https://svnweb.freebsd.org/changeset/ports/463787

Log:
  net/rabbitmq: recursively fix ownership of RABBITMQ_LOG_BASE on startup.
  
  Submitted by:	Jeff Walter
  MFH:		2018Q1

Modified:
  head/net/rabbitmq/Makefile
  head/net/rabbitmq/files/rabbitmq.in

Modified: head/net/rabbitmq/Makefile
==============================================================================
--- head/net/rabbitmq/Makefile	Wed Mar  7 10:41:01 2018	(r463786)
+++ head/net/rabbitmq/Makefile	Wed Mar  7 11:10:44 2018	(r463787)
@@ -3,6 +3,7 @@
 
 PORTNAME=	rabbitmq
 PORTVERSION=	3.6.14
+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	Wed Mar  7 10:41:01 2018	(r463786)
+++ head/net/rabbitmq/files/rabbitmq.in	Wed Mar  7 11:10:44 2018	(r463787)
@@ -56,7 +56,7 @@ rabbitmq_start()
 
 	mkdir -p ${RABBITMQ_LOG_BASE}
  
-	chown ${rabbitmq_user}:${rabbitmq_user} ${RABBITMQ_LOG_BASE}
+	chown -R ${rabbitmq_user}:${rabbitmq_user} ${RABBITMQ_LOG_BASE}
 
 	if [ -f ${RABBITMQ_HOME}/.erlang.cookie ]; then
 		chmod 600 ${RABBITMQ_HOME}/.erlang.cookie



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803071110.w27BAiML043216>