From 4edd4e1e27512d55bf6fe869f308cbf54363c997 Mon Sep 17 00:00:00 2001 From: Quinten <67589015+QuintenQVD0@users.noreply.github.com> Date: Tue, 31 Jan 2023 17:08:50 +0100 Subject: [PATCH] bastion: change mongodb stop cmd --- bot/bastion/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/bastion/entrypoint.sh b/bot/bastion/entrypoint.sh index e898b6d..8a8604a 100644 --- a/bot/bastion/entrypoint.sh +++ b/bot/bastion/entrypoint.sh @@ -39,4 +39,4 @@ echo -e "${BLUE}-------------------------------------------------${NC}" eval ${MODIFIED_STARTUP} # stop mongo -mongo --eval "db.getSiblingDB('admin').shutdownServer()" +mongod --eval "db.adminCommand({ "shutdown" : 1 })"