21 lines
352 B
Text
21 lines
352 B
Text
# mongodb.conf
|
|
|
|
dbpath=/srv/mongodb
|
|
pidfilepath=/var/run/mongodb/mongodb.pid
|
|
|
|
# where to log
|
|
logpath=/var/log/mongodb/mongodb.log
|
|
logappend = true
|
|
|
|
# fork and run in background
|
|
fork = true
|
|
|
|
# bind to localhost
|
|
bind_ip = 127.0.0.1
|
|
port = 27017
|
|
|
|
# Turn on/off security. Off is currently the default
|
|
auth = true
|
|
|
|
# Verbose logging output.
|
|
verbose = true
|