freebsd-ports/databases/mongodb34/files/patch-rpm_mongod.conf
Boris Samorodov 4dd622354f databases/mongodb34: Add a new stable mongodb 3.4.x version.
PR:		213220
Submitted by:	Eric Camachat <eric@camachat.org>
2017-04-26 12:34:45 +00:00

31 lines
791 B
Text

--- rpm/mongod.conf.orig 2017-04-20 21:43:42 UTC
+++ rpm/mongod.conf
@@ -1,4 +1,4 @@
-# mongod.conf
+# mongodb.conf
# for documentation of all options, see:
# http://docs.mongodb.org/manual/reference/configuration-options/
@@ -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:
@@ -21,7 +21,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
# network interfaces
net: