summaryrefslogtreecommitdiff
path: root/scripts/rabbitmq-plugin
diff options
context:
space:
mode:
authorAlexandru Scvortov <alexandru@rabbitmq.com>2011-09-08 17:12:56 +0100
committerAlexandru Scvortov <alexandru@rabbitmq.com>2011-09-08 17:12:56 +0100
commita18dde80c58c3d6d312e431e933adce2804cad6e (patch)
tree393f999e88e2fcfc29d925af576fd2c919c0ea1d /scripts/rabbitmq-plugin
parent2e88be5d470b0f38aef3abcfef1cd2ac6b7c83b4 (diff)
downloadrabbitmq-server-git-a18dde80c58c3d6d312e431e933adce2804cad6e.tar.gz
add rabbitmq-plugin stub
Diffstat (limited to 'scripts/rabbitmq-plugin')
-rwxr-xr-xscripts/rabbitmq-plugin26
1 files changed, 26 insertions, 0 deletions
diff --git a/scripts/rabbitmq-plugin b/scripts/rabbitmq-plugin
new file mode 100755
index 0000000000..a1f0883707
--- /dev/null
+++ b/scripts/rabbitmq-plugin
@@ -0,0 +1,26 @@
+#!/bin/sh
+## The contents of this file are subject to the Mozilla Public License
+## Version 1.1 (the "License"); you may not use this file except in
+## compliance with the License. You may obtain a copy of the License
+## at http://www.mozilla.org/MPL/
+##
+## Software distributed under the License is distributed on an "AS IS"
+## basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+## the License for the specific language governing rights and
+## limitations under the License.
+##
+## The Original Code is RabbitMQ.
+##
+## The Initial Developer of the Original Code is VMware, Inc.
+## Copyright (c) 2007-2011 VMware, Inc. All rights reserved.
+##
+
+. `dirname $0`/rabbitmq-env
+
+exec erl \
+ -pa "${RABBITMQ_HOME}/ebin" \
+ -noinput \
+ -hidden \
+ -sname rabbitmq-plugin$$ \
+ -s rabbit_plugin \
+ -extra "$@"