bastion: change mongodb stop cmd

This commit is contained in:
Quinten
2023-01-31 17:08:50 +01:00
committed by GitHub
parent 1810594861
commit 4edd4e1e27

View File

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