mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-07-10 10:35:10 +00:00
Removing command-echoing in start script and adding info output
This commit is contained in:
+2
-2
@@ -1,7 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
set -x
|
|
||||||
|
|
||||||
if [ ! -e /conf/elasticsearch.* ]; then
|
if [ ! -e /conf/elasticsearch.* ]; then
|
||||||
cp $ES_HOME/config/elasticsearch.yml /conf
|
cp $ES_HOME/config/elasticsearch.yml /conf
|
||||||
fi
|
fi
|
||||||
@@ -36,8 +34,10 @@ fi
|
|||||||
if [ -n "$PLUGINS" ]; then
|
if [ -n "$PLUGINS" ]; then
|
||||||
for p in $(echo $PLUGINS | awk -v RS=, '{print}')
|
for p in $(echo $PLUGINS | awk -v RS=, '{print}')
|
||||||
do
|
do
|
||||||
|
echo "Installing the plugin $p"
|
||||||
$ES_HOME/bin/plugin --install $p
|
$ES_HOME/bin/plugin --install $p
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "Starting Elasticsearch with the options $OPTS"
|
||||||
$ES_HOME/bin/elasticsearch $OPTS
|
$ES_HOME/bin/elasticsearch $OPTS
|
||||||
|
|||||||
Reference in New Issue
Block a user