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 })"