Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jan 2017 15:50:41 +0000 (UTC)
From:      Jimmy Olgeni <olgeni@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r432517 - in branches/2017Q1/net/rabbitmq: . files
Message-ID:  <201701261550.v0QFofwB071498@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olgeni
Date: Thu Jan 26 15:50:41 2017
New Revision: 432517
URL: https://svnweb.freebsd.org/changeset/ports/432517

Log:
  MFH: r432478
  
  net/rabbitmq: add full path to the daemon(8) call in rc script.
  
  This allows the script to work in crontab, where /usr/sbin is not
  in PATH.
  
  Submitted by:	Dmitriy Simakov
  Approved by:	ports-secteam (feld)

Modified:
  branches/2017Q1/net/rabbitmq/Makefile
  branches/2017Q1/net/rabbitmq/files/rabbitmq.in
Directory Properties:
  branches/2017Q1/   (props changed)

Modified: branches/2017Q1/net/rabbitmq/Makefile
==============================================================================
--- branches/2017Q1/net/rabbitmq/Makefile	Thu Jan 26 15:37:28 2017	(r432516)
+++ branches/2017Q1/net/rabbitmq/Makefile	Thu Jan 26 15:50:41 2017	(r432517)
@@ -3,6 +3,7 @@
 
 PORTNAME=	rabbitmq
 PORTVERSION=	3.6.6
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	http://www.rabbitmq.com/releases/rabbitmq-server/v${PORTVERSION}/
 DISTNAME=	${PORTNAME}-server-${PORTVERSION}

Modified: branches/2017Q1/net/rabbitmq/files/rabbitmq.in
==============================================================================
--- branches/2017Q1/net/rabbitmq/files/rabbitmq.in	Thu Jan 26 15:37:28 2017	(r432516)
+++ branches/2017Q1/net/rabbitmq/files/rabbitmq.in	Thu Jan 26 15:50:41 2017	(r432517)
@@ -62,7 +62,7 @@ rabbitmq_start()
 		chmod 600 ${RABBITMQ_HOME}/.erlang.cookie
 	fi
 
-	env HOME=${RABBITMQ_HOME} daemon -c -f -u ${rabbitmq_user} -p ${pidfile} -P ${daemon_pidfile} ${rabbitmq_server}
+	env HOME=${RABBITMQ_HOME} /usr/sbin/daemon -c -f -u ${rabbitmq_user} -p ${pidfile} -P ${daemon_pidfile} ${rabbitmq_server}
 	debug "Running: rabbitmqctl wait ${pidfile}"
 	${rabbitmq_ctl} wait ${pidfile} >/dev/null 2>&1
 }



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