rm plugins.config

This commit is contained in:
Feng Lee 2015-08-06 00:02:19 +08:00
parent ef4dbd525d
commit 1a67a75423
1 changed files with 1 additions and 22 deletions

View File

@ -141,13 +141,6 @@ case "$1" in
echo $RES
exit 1
fi
# Sanity check the plugins.config file
RES=`$NODETOOL_LITE chkconfig $RUNNER_ETC_DIR/plugins.config`
if [ $? != 0 ]; then
echo "Error reading $RUNNER_ETC_DIR/plugins.config"
echo $RES
exit 1
fi
HEART_COMMAND="$RUNNER_SCRIPT_DIR/$SCRIPT start"
export HEART_COMMAND
mkdir -p $PIPE_DIR
@ -265,13 +258,6 @@ case "$1" in
echo $RES
exit 1
fi
# Sanity check the plugins.config file
RES=`$NODETOOL_LITE chkconfig $RUNNER_ETC_DIR/plugins.config`
if [ $? != 0 ]; then
echo "Error reading $RUNNER_ETC_DIR/plugins.config"
echo $RES
exit 1
fi
# Setup beam-required vars
ROOTDIR=$RUNNER_BASE_DIR
ERL_LIBS=$ROOTDIR/plugins
@ -279,7 +265,7 @@ case "$1" in
EMU=beam
PROGNAME=`echo $0 | sed 's/.*\///'`
CMD="$BINDIR/erlexec -boot $RUNNER_BASE_DIR/releases/$APP_VSN/$SCRIPT \
-embedded -config $RUNNER_ETC_DIR/emqttd.config -config $RUNNER_ETC_DIR/plugins.config \
-embedded -config $RUNNER_ETC_DIR/emqttd.config \
-pa $RUNNER_LIB_DIR/basho-patches \
-args_file $RUNNER_ETC_DIR/vm.args -- ${1+"$@"}"
export EMU
@ -305,13 +291,6 @@ case "$1" in
echo $RES
exit 1
fi
# Sanity check the plugins.config file
RES=`$NODETOOL_LITE chkconfig $RUNNER_ETC_DIR/plugins.config`
if [ $? != 0 ]; then
echo "Error reading $RUNNER_ETC_DIR/plugins.config"
echo $RES
exit 1
fi
echo "config is OK"
;;
escript)