diff --git a/docker/release/config/opensearch/opensearch-docker-entrypoint-1.x.sh b/docker/release/config/opensearch/opensearch-docker-entrypoint-1.x.sh index 4ed61fabfd..75662d4e69 100755 --- a/docker/release/config/opensearch/opensearch-docker-entrypoint-1.x.sh +++ b/docker/release/config/opensearch/opensearch-docker-entrypoint-1.x.sh @@ -98,7 +98,7 @@ function runOpensearch { setupPerformanceAnalyzerPlugin # Start opensearch - "$@" "${opensearch_opts[@]}" + exec "$@" "${opensearch_opts[@]}" } diff --git a/docker/release/config/opensearch/opensearch-docker-entrypoint-2.x.sh b/docker/release/config/opensearch/opensearch-docker-entrypoint-2.x.sh index 670739e2a1..d9986638fd 100755 --- a/docker/release/config/opensearch/opensearch-docker-entrypoint-2.x.sh +++ b/docker/release/config/opensearch/opensearch-docker-entrypoint-2.x.sh @@ -97,7 +97,7 @@ function runOpensearch { setupPerformanceAnalyzerPlugin # Start opensearch - "$@" "${opensearch_opts[@]}" + exec "$@" "${opensearch_opts[@]}" } diff --git a/docker/release/config/opensearch/opensearch-docker-entrypoint-default.x.sh b/docker/release/config/opensearch/opensearch-docker-entrypoint-default.x.sh index 670739e2a1..d9986638fd 100755 --- a/docker/release/config/opensearch/opensearch-docker-entrypoint-default.x.sh +++ b/docker/release/config/opensearch/opensearch-docker-entrypoint-default.x.sh @@ -97,7 +97,7 @@ function runOpensearch { setupPerformanceAnalyzerPlugin # Start opensearch - "$@" "${opensearch_opts[@]}" + exec "$@" "${opensearch_opts[@]}" }