Last change
on this file since 31303 was 31303, checked in by davidb, 7 years ago |
Adding in support to start and stop router server
|
-
Property svn:executable
set to
*
|
File size:
258 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | for h in $MONGODB_CONFIG_HOSTS ; do
|
---|
4 | echo "* Starting MongoDB Config Server on $h:$MONGODB_CONFIG_PORT"
|
---|
5 | ssh $h "mongod --configsvr --dbpath \"$MONGODB_DBDIR/config-metadata\" --port $MONGODB_CONFIG_PORT > mongodb-output-$h-config.log &"
|
---|
6 | done
|
---|
Note:
See
TracBrowser
for help on using the repository browser.