Removing command-echoing in start script and adding info output

This commit is contained in:
Geoff Bourne 2014-11-15 21:12:49 +00:00
parent 8a2199a890
commit ee9f27546b

View file

@ -1,7 +1,5 @@
#!/bin/sh
set -x
if [ ! -e /conf/elasticsearch.* ]; then
cp $ES_HOME/config/elasticsearch.yml /conf
fi
@ -36,8 +34,10 @@ fi
if [ -n "$PLUGINS" ]; then
for p in $(echo $PLUGINS | awk -v RS=, '{print}')
do
echo "Installing the plugin $p"
$ES_HOME/bin/plugin --install $p
done
fi
echo "Starting Elasticsearch with the options $OPTS"
$ES_HOME/bin/elasticsearch $OPTS