blob: cba226cd781b7ccdba921b59d29c924496e0f0ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
$NetBSD: patch-debian_mongod.conf,v 1.3 2016/02/12 03:37:24 ryoon Exp $
Use proper paths in default config file.
--- debian/mongod.conf.orig 2016-01-05 18:31:44.000000000 +0000
+++ debian/mongod.conf
@@ -5,7 +5,7 @@
# Where and how to store data.
storage:
- dbPath: /var/lib/mongodb
+ dbPath: @MONGODB_DBPATH@
journal:
enabled: true
# engine:
@@ -16,7 +16,7 @@ storage:
systemLog:
destination: file
logAppend: true
- path: /var/log/mongodb/mongod.log
+ path: @MONGODB_DBPATH@/mongod.log
# network interfaces
net:
|