summaryrefslogtreecommitdiff
path: root/scripts/rabbitmqctl
diff options
context:
space:
mode:
authorJean-Sebastien Pedron <jean-sebastien@rabbitmq.com>2014-12-03 15:27:45 +0100
committerJean-Sebastien Pedron <jean-sebastien@rabbitmq.com>2014-12-03 15:27:45 +0100
commitb4cfde3f0930f953bb8da3a4e70c37740ce9c75d (patch)
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904 /scripts/rabbitmqctl
parent008476172f305e1e6b12f9e2701a39e0b9f06ecf (diff)
parent2b4eddb2a587f1555ec1ec835e7304fd430bba29 (diff)
downloadrabbitmq-server-junk.tar.gz
Junked bug26446junk
Diffstat (limited to 'scripts/rabbitmqctl')
-rwxr-xr-xscripts/rabbitmqctl41
1 files changed, 0 insertions, 41 deletions
diff --git a/scripts/rabbitmqctl b/scripts/rabbitmqctl
deleted file mode 100755
index d437e251..00000000
--- a/scripts/rabbitmqctl
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/bin/sh -e
-## 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 GoPivotal, Inc.
-## Copyright (c) 2007-2014 GoPivotal, Inc. All rights reserved.
-##
-
-# Get default settings with user overrides for (RABBITMQ_)<var_name>
-# Non-empty defaults should be set in rabbitmq-env
-. `dirname $0`/rabbitmq-env
-
-# rabbitmqctl starts distribution itself, so we need to make sure epmd
-# is running.
-${ERL_DIR}erl ${RABBITMQ_NAME_TYPE} rabbitmqctl-prelaunch-$$ -noinput \
--eval 'erlang:halt().' -boot "${CLEAN_BOOT_FILE}"
-
-# We specify Mnesia dir and sasl error logger since some actions
-# (e.g. forget_cluster_node --offline) require us to impersonate the
-# real node.
-RABBITMQ_USE_LONGNAME=${RABBITMQ_USE_LONGNAME} \
-exec ${ERL_DIR}erl \
- -pa "${RABBITMQ_HOME}/ebin" \
- -noinput \
- -hidden \
- ${RABBITMQ_CTL_ERL_ARGS} \
- -boot "${CLEAN_BOOT_FILE}" \
- -sasl errlog_type error \
- -mnesia dir "\"${RABBITMQ_MNESIA_DIR}\"" \
- -s rabbit_control_main \
- -nodename $RABBITMQ_NODENAME \
- -extra "$@"