mirror of
https://github.com/darksaid98/yolks.git
synced 2026-12-01 22:22:40 +00:00
bastion: change mongodb stop cmd
This commit is contained in:
1 parent
1810594861
commit
4edd4e1e27
1 file changed
+1
-1
@@ -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 })"
|
||||
Reference in new issue
Block a user