diff --git a/apps/elastic-elasticsearch/8.14.3/scripts/init.sh b/apps/elastic-elasticsearch/8.14.3/scripts/init.sh index 835593aa..786287cb 100644 --- a/apps/elastic-elasticsearch/8.14.3/scripts/init.sh +++ b/apps/elastic-elasticsearch/8.14.3/scripts/init.sh @@ -8,6 +8,12 @@ if [ -f .env ]; then sed -i '/^ENV_FILE=/d' .env echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env + mkdir -p $ELASTICSEARCH_ROOT_PATH + mkdir -p $ELASTICSEARCH_DATA_PATH/certs + mkdir -p $ELASTICSEARCH_DATA_PATH/data + mkdir -p $ELASTICSEARCH_DATA_PATH/logs + mkdir -p $ELASTICSEARCH_DATA_PATH/plugins + chown -R 1000:0 $ELASTICSEARCH_ROOT_PATH echo "Check Finish."