summaryrefslogtreecommitdiff
path: root/net/rabbitmq/files/rabbitmq.in
diff options
context:
space:
mode:
Diffstat (limited to 'net/rabbitmq/files/rabbitmq.in')
-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`