summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorJan Lehnardt <jan@apache.org>2008-08-30 14:27:01 +0000
committerJan Lehnardt <jan@apache.org>2008-08-30 14:27:01 +0000
commit3751c13253370c72735fb070588fa8d99db5e81a (patch)
tree650691eddcc992946b87a1c7d4faf41fdfacc2b4 /etc
parentbef662fcc96e7b578aac40154e7767de30e9a1c0 (diff)
- Rename configuration options and sections to allow for a nicer .ini file and HTTP API calls.
- Enable .ini parser to read variable assignments with spaces around the '='-sign. - Remove inadequate comment. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@690513 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'etc')
-rw-r--r--etc/couchdb/default.ini.tpl.in30
1 files changed, 14 insertions, 16 deletions
diff --git a/etc/couchdb/default.ini.tpl.in b/etc/couchdb/default.ini.tpl.in
index 07d2a9a3..a1046957 100644
--- a/etc/couchdb/default.ini.tpl.in
+++ b/etc/couchdb/default.ini.tpl.in
@@ -2,22 +2,20 @@
; Upgrading CouchDB will overwrite this file.
-[CouchDB]
-RootDirectory=%localstatelibdir%
-UtilDriverDir=%couchprivlibdir%
-MaximumDocumentSize=4294967296 ; 4 GB
+[couchdb]
+database_dir = %localstatelibdir%
+util_driver_dir = %couchprivlibdir%
+max_document_size = 4294967296 ; 4 GB
+view_timeout = 5000 ; 5 seconds
-[HTTPd]
-Port=5984
-BindAddress=127.0.0.1
-DocumentRoot=%localdatadir%/www
+[httpd]
+port = 5984
+bind_address = 127.0.0.1
+utils_dir = %localdatadir%/www
-[Log]
-File=%localstatelogdir%/couch.log
-Level=info
+[log]
+file = %localstatelogdir%/couch.log
+level = info
-[CouchDB Query Servers]
-javascript=%bindir%/%couchjs_command_name% %localdatadir%/server/main.js
-
-[CouchDB Query Server Options]
-QueryTimeout=5000 ; 5 seconds
+[query_servers]
+javascript = %bindir%/%couchjs_command_name% %localdatadir%/server/main.js