$NetBSD: patch-debian_mongod.conf,v 1.1 2015/05/02 08:10:33 ryoon Exp $ Use proper paths in default config file. --- debian/mongod.conf.orig 2014-04-07 00:36:57.000000000 +0000 +++ debian/mongod.conf @@ -5,13 +5,15 @@ # 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/mongodb +dbpath=@MONGODB_DBPATH@ #where to log -logpath=/var/log/mongodb/mongod.log +logpath=@MONGODB_LOGPATH@/mongod.log logappend=true +pidfilepath = @MONGODB_DBPATH@/mongod.pid + #port = 27017 # Listen to local interface only. Comment out to listen on all interfaces.