summaryrefslogtreecommitdiff
path: root/databases/mongodb50/files/patch-rpm_mongod.conf
blob: 1a21e425070719cd7a174c341a1cbb3020d9b7ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--- rpm/mongod.conf.orig	2019-08-08 20:06:23 UTC
+++ rpm/mongod.conf
@@ -7,11 +7,11 @@
 systemLog:
   destination: file
   logAppend: true
-  path: /var/log/mongodb/mongod.log
+  path: /var/db/mongodb/mongod.log 
 
 # Where and how to store data.
 storage:
-  dbPath: /var/lib/mongo
+  dbPath: /var/db/mongodb 
   journal:
     enabled: true
 #  engine:
@@ -20,7 +20,7 @@ storage:
 # how the process runs
 processManagement:
   fork: true  # fork and run in background
-  pidFilePath: /var/run/mongodb/mongod.pid  # location of pidfile
+  pidFilePath: /var/db/mongodb/mongod.lock  # location of pidfile
   timeZoneInfo: /usr/share/zoneinfo
 
 # network interfaces