aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2017-01-26 17:41:06 +0800
committerolgeni <olgeni@FreeBSD.org>2017-01-26 17:41:06 +0800
commitb3561f6e6da6e7ebec1718107b5d892af795f967 (patch)
tree367a79951d3c109a1eea5246bd02d384def27ccc /net
parentc54953a415f7aa84858a3658bc6661e2d69e6fcb (diff)
downloadfreebsd-ports-gnome-b3561f6e6da6e7ebec1718107b5d892af795f967.tar.gz
freebsd-ports-gnome-b3561f6e6da6e7ebec1718107b5d892af795f967.tar.zst
freebsd-ports-gnome-b3561f6e6da6e7ebec1718107b5d892af795f967.zip
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
Diffstat (limited to 'net')
-rw-r--r--net/rabbitmq/Makefile1
-rw-r--r--net/rabbitmq/files/rabbitmq.in2
2 files changed, 2 insertions, 1 deletions
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
}