From b3561f6e6da6e7ebec1718107b5d892af795f967 Mon Sep 17 00:00:00 2001 From: olgeni Date: Thu, 26 Jan 2017 09:41:06 +0000 Subject: 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 --- net/rabbitmq/Makefile | 1 + net/rabbitmq/files/rabbitmq.in | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'net') diff --git a/net/rabbitmq/Makefile b/net/rabbitmq/Makefile index 101a141b3a2b..239dfd61a1a3 100644 --- a/net/rabbitmq/Makefile +++ b/net/rabbitmq/Makefile @@ -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} diff --git a/net/rabbitmq/files/rabbitmq.in b/net/rabbitmq/files/rabbitmq.in index 0cf12f344d42..8558bc0144b5 100644 --- a/net/rabbitmq/files/rabbitmq.in +++ b/net/rabbitmq/files/rabbitmq.in @@ -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 } -- cgit