diff options
Diffstat (limited to 'databases/mongodb40/files/patch-rpm_mongod.conf')
| -rw-r--r-- | databases/mongodb40/files/patch-rpm_mongod.conf | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/databases/mongodb40/files/patch-rpm_mongod.conf b/databases/mongodb40/files/patch-rpm_mongod.conf new file mode 100644 index 000000000000..77f3b6026daf --- /dev/null +++ b/databases/mongodb40/files/patch-rpm_mongod.conf @@ -0,0 +1,25 @@ +--- rpm/mongod.conf.orig 2018-01-04 23:28:55 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: +@@ -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 + timeZoneInfo: /usr/share/zoneinfo + + # network interfaces |
