save original elasticserach.yml

Former-commit-id: eed444bbbb
This commit is contained in:
AlfonsoRBJ
2019-09-04 11:11:59 +02:00
parent 131d25979b
commit 2918502fd1

View File

@@ -3,6 +3,9 @@
elastic_config_file="/usr/share/elasticsearch/config/elasticsearch.yml"
original_file="/usr/share/elasticsearch/config/original-elasticsearch.yml"
cp $elastic_config_file $original_file
# If Elasticsearch cluster is enable
if [[ $ELASTIC_CLUSTER == "true" ]]