FreeBSD Bugzilla – Attachment 153699 Details for
Bug 198212
[PATCH] databases/mongodb allow custom config path
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to allow config path modification
mongod.in.patch (text/plain), 637 bytes, created by
Daniel Ylitalo
on 2015-03-03 00:04:11 UTC
(
hide
)
Description:
patch to allow config path modification
Filename:
MIME Type:
Creator:
Daniel Ylitalo
Created:
2015-03-03 00:04:11 UTC
Size:
637 bytes
patch
obsolete
>--- mongod.in.orig 2015-03-03 00:43:04.000000000 +0100 >+++ mongod.in 2015-03-03 00:43:18.000000000 +0100 >@@ -31,10 +31,11 @@ > : ${mongod_flags="--logpath ${mongod_dbpath}/mongod.log --logappend"} > : ${mongod_user="mongodb"} > : ${mongod_group="mongodb"} >+: ${mongod_config="%%PREFIX%%/etc/mongodb.conf"} > > pidfile="${mongod_dbpath}/mongod.lock" > command=%%PREFIX%%/bin/${name} >-command_args="--config %%PREFIX%%/etc/mongodb.conf --dbpath $mongod_dbpath --fork >/dev/null 2>/dev/null" >+command_args="--config $mongod_config --dbpath $mongod_dbpath --fork >/dev/null 2>/dev/null" > start_precmd="${name}_prestart" > > mongod_create_dbpath()
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 198212
: 153699