0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-29 16:47:28 +01:00

Change some paths mongodb.conf for debianoids. MINOR

This commit is contained in:
Richard Kreuter 2010-02-08 12:35:29 -05:00
parent a5078c00d5
commit b284b8b6e6
2 changed files with 4 additions and 4 deletions

4
debian/mongodb.conf vendored
View File

@ -5,10 +5,10 @@
# Note: if you run mongodb as a non-root user (recommended) you may
# need to create and set permissions for this directory manually,
# e.g., if the parent directory isn't mutable by the mongodb user.
dbpath=/var/lib/mongo
dbpath=/var/lib/mongodb
#where to log
logpath=/var/log/mongod
logpath=/var/log/mongodb/mongodb.log
logappend=true

4
debian/postinst vendored
View File

@ -27,11 +27,11 @@ case "$1" in
adduser mongodb mongodb
fi
# create db
# create db -- note: this should agree with dbpath in mongodb.conf
mkdir -p /var/lib/mongodb
chown mongodb:mongodb /var/lib/mongodb
# create logdir
# create logdir -- note: this should agree with logpath in mongodb.conf
mkdir -p /var/log/mongodb
chown mongodb:mongodb /var/log/mongodb
;;