From 656b23cfa85f02594701e8a8d578d81d5c9ae2c4 Mon Sep 17 00:00:00 2001 From: Vasyl Yurkovych <59879559+yurkovychv@users.noreply.github.com> Date: Fri, 29 Nov 2024 16:57:56 +0200 Subject: [PATCH] PMM-7 tweak start rs script --- pmm_psmdb-pbm_setup/start-rs.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pmm_psmdb-pbm_setup/start-rs.sh b/pmm_psmdb-pbm_setup/start-rs.sh index b28120f..266ca78 100755 --- a/pmm_psmdb-pbm_setup/start-rs.sh +++ b/pmm_psmdb-pbm_setup/start-rs.sh @@ -14,6 +14,9 @@ export COMPOSE_PROFILES=${profile} docker compose -f docker-compose-rs.yaml -f docker-compose-pmm.yaml down -v --remove-orphans docker compose -f docker-compose-rs.yaml -f docker-compose-pmm.yaml build +sed -E 's/.+fork.+//' -i conf/mongod-rs/mongod.conf +sed -E 's/.+pidFilePath.+//' -i conf/mongod-rs/mongod.conf +sed -E 's/.+processManagement.+//' -i conf/mongod-rs/mongod.conf docker compose -f docker-compose-pmm.yaml -f docker-compose-rs.yaml up -d echo echo "waiting 30 seconds for pmm-server to start"