Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jan 2017 09:41:06 +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: r432478 - in head/net/rabbitmq: . files
Message-ID:  <201701260941.v0Q9f6ox021012@repo.freebsd.org>

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

Log:
  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
  MFH:		2017Q1

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

Modified: head/net/rabbitmq/Makefile
==============================================================================
--- head/net/rabbitmq/Makefile	Thu Jan 26 09:26:33 2017	(r432477)
+++ head/net/rabbitmq/Makefile	Thu Jan 26 09:41:06 2017	(r432478)
@@ -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: head/net/rabbitmq/files/rabbitmq.in
==============================================================================
--- head/net/rabbitmq/files/rabbitmq.in	Thu Jan 26 09:26:33 2017	(r432477)
+++ head/net/rabbitmq/files/rabbitmq.in	Thu Jan 26 09:41:06 2017	(r432478)
@@ -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?201701260941.v0Q9f6ox021012>