mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-14 10:41:54 +08:00
调试 elastic
Signed-off-by: 萌森 <qyg2297248353@163.com>
This commit is contained in:
parent
04633fce36
commit
829a4bc8c7
@ -9,15 +9,16 @@ if [ -f .env ]; then
|
|||||||
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
|
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
|
||||||
|
|
||||||
mkdir -p "$ELASTICSEARCH_ROOT_PATH"
|
mkdir -p "$ELASTICSEARCH_ROOT_PATH"
|
||||||
mkdir -p "$ELASTICSEARCH_DATA_PATH/certs"
|
|
||||||
mkdir -p "$ELASTICSEARCH_DATA_PATH/data"
|
mkdir -p "$ELASTICSEARCH_DATA_PATH/data"
|
||||||
mkdir -p "$ELASTICSEARCH_DATA_PATH/logs"
|
mkdir -p "$ELASTICSEARCH_DATA_PATH/backup"
|
||||||
mkdir -p "$ELASTICSEARCH_DATA_PATH/plugins"
|
mkdir -p "$ELASTICSEARCH_DATA_PATH/plugins"
|
||||||
|
|
||||||
chown -R 1000:0 "$ELASTICSEARCH_ROOT_PATH"
|
chown -R 1000:1000 "$ELASTICSEARCH_ROOT_PATH"
|
||||||
|
chown -R 1000:1000 "$ELASTICSEARCH_ROOT_PATH/data"
|
||||||
|
chown -R 1000:1000 "$ELASTICSEARCH_ROOT_PATH/backup"
|
||||||
|
chown -R 1000:1000 "$ELASTICSEARCH_ROOT_PATH/plugins"
|
||||||
|
|
||||||
echo "Check Finish."
|
echo "Check Finish."
|
||||||
|
|
||||||
else
|
else
|
||||||
echo "Error: .env file not found."
|
echo "Error: .env file not found."
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user