Merge "Append /usr/sbin:/sbin to the path for searching mongodb"
This commit is contained in:
commit
60ce09b062
@ -25,6 +25,7 @@ fi
|
||||
MONGO_DATA=`mktemp -d /tmp/CEILO-MONGODB-XXXXX`
|
||||
trap "clean_exit" EXIT
|
||||
mkfifo ${MONGO_DATA}/out
|
||||
export PATH=${PATH:+$PATH:}/sbin:/usr/sbin
|
||||
mongod --maxConns 128 --nojournal --noprealloc --smallfiles --quiet --noauth --port 29000 --dbpath "${MONGO_DATA}" --bind_ip localhost &>${MONGO_DATA}/out &
|
||||
MONGO_PID=$!
|
||||
# Wait for Mongo to start listening to connections
|
||||
|
Loading…
x
Reference in New Issue
Block a user