From d94dfb4cb0bc4560db9b369b65e1d1398f248f43 Mon Sep 17 00:00:00 2001 From: amandilaras Date: Tue, 14 May 2024 09:49:56 +0300 Subject: [PATCH] deploy script fix --- deployment/deploy_opencdmp.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/deployment/deploy_opencdmp.sh b/deployment/deploy_opencdmp.sh index dc2c90e90..c00aa4e9a 100644 --- a/deployment/deploy_opencdmp.sh +++ b/deployment/deploy_opencdmp.sh @@ -62,9 +62,8 @@ function loading_icon() { loading_icon 45 "Waiting for Elasticsearch to Startup!" -if [[ $1 == "-r" ]]; then - docker exec opencdmp.elasticsearch /usr/share/elasticsearch/config/index_init.sh -fi +docker exec opencdmp.elasticsearch /usr/share/elasticsearch/config/index_init.sh + docker restart opencdmp.elasticsearch docker-compose up -d opencdmp.postgres