Mongodb

From Fabelier
Jump to: navigation, search

The mongodb DEV DAEMON setting is stored here :

 /etc/default/mongodb


and look like that : (due to the partition space problem)

 NAME=mongodb
 DATA=/home/var/lib/mongodb
 LOGDIR=/home/var/log/mongodb
 LOGFILE=$LOGDIR/$NAME.log  # Server logfile


The DEFAULT SETTING LOOK LIKE

 Default  
 NAME=mongodb
 CONF=/etc/mongodb.conf
 DATA=/var/lib/mongodb
 LOGDIR=/var/log/mongodb
 PIDFILE=/var/run/$NAME.pid
 LOGFILE=$LOGDIR/$NAME.log  # Server logfile
 ENABLE_MONGODB=yes


PS : don't use /etc/mongodb.conf , it's doesn't work with the Daemon /etc/init.d/mongodb start...

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox