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