aboutsummaryrefslogtreecommitdiff
path: root/net/rabbitmq/files
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2008-09-03 15:51:10 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2008-09-03 15:51:10 +0000
commitfeba621254c9831d67cc5238d7d6fe581c571c69 (patch)
tree1e55333181f2a6ec062491fc07e261f621ea7409 /net/rabbitmq/files
parenta013c09d46a5e55e8760d4547ae0eb63127dab16 (diff)
downloadports-feba621254c9831d67cc5238d7d6fe581c571c69.tar.gz
ports-feba621254c9831d67cc5238d7d6fe581c571c69.zip
Notes
Diffstat (limited to 'net/rabbitmq/files')
-rw-r--r--net/rabbitmq/files/rabbitmq.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/rabbitmq/files/rabbitmq.in b/net/rabbitmq/files/rabbitmq.in
index 4d68bb03a3e4..0b26934aebb3 100644
--- a/net/rabbitmq/files/rabbitmq.in
+++ b/net/rabbitmq/files/rabbitmq.in
@@ -17,19 +17,20 @@
# Set some defaults
rabbitmq_enable=${rabbitmq_enable:-"NO"}
+prefix=%%PREFIX%%
name=rabbitmq
start_cmd="${name}_start"
stop_cmd="${name}_stop"
rabbitmq_start()
{
- rabbitmq-server -detached
+ ${prefix}/sbin/rabbitmq-server -detached
echo "RabbitMQ started"
}
rabbitmq_stop()
{
- rabbitmqctl stop
+ ${prefix}/sbin/rabbitmqctl stop
}
rcvar=`set_rcvar`