[Zope-Checkins] CVS: Zope/skel/etc - zope.conf.in:1.6.2.11

Chris McDonough chrism at zopemafia.com
Sat Dec 20 12:03:07 EST 2003


Update of /cvs-repository/Zope/skel/etc
In directory cvs.zope.org:/tmp/cvs-serv30515

Modified Files:
      Tag: Zope-2_7-branch
	zope.conf.in 
Log Message:
Explicitly specify databases in default configuration.  This is necessary because we are going to stop the magic of creating "default" databases if none are specified in the config.


=== Zope/skel/etc/zope.conf.in 1.6.2.10 => 1.6.2.11 ===
--- Zope/skel/etc/zope.conf.in:1.6.2.10	Wed Nov 26 18:24:53 2003
+++ Zope/skel/etc/zope.conf.in	Sat Dec 20 12:03:06 2003
@@ -761,37 +761,33 @@
 #
 # Description:
 #     A database section allows the definition of custom database and
-#     storage types.
+#     storage types.  More than one zodb_db section can be defined.
 #
-# Default:
-#   If a database is not specified, a FileStorage in client-home is
-#   used for the main storage, and a TemporaryStorage is used for
-#   the mounted storage which backs the '/temp_folder'.
+# Default: unset.
+#          IMPORTANT: At least one database with a mount-point of "/"
+#          must be specified for Zope to start properly.
+
+<zodb_db main>
+    # Main FileStorage database
+    <filestorage>
+      path $INSTANCE/var/Data.fs
+    </filestorage>
+    mount-point /
+</zodb_db>
+
+<zodb_db temporary>
+    # Temporary storage database (for sessions)
+    <temporarystorage>
+      name temporary storage for sessioning
+    </temporarystorage>
+    mount-point /temp_folder
+    container-class Products.TemporaryFolder.TemporaryContainer
+</zodb_db>
+
+# Other storage examples
 #
-# Examples:
-#
-# Filestorage:
-# <zodb_db main>
-#    <filestorage>
-#      path $INSTANCE/var/Data.fs
-#    </filestorage>
-#    mount-point /
-#    cache-size                     5000
-#    pool-size                      7
-#    version-pool-size              3
-#    version-cache-size             100
-# </zodb_db>
-#
-# Temporary storage:
-# <zodb_db temporary>
-#    <temporarystorage>
-#      name sessions
-#    </temporarystorage>
-#    mount-point /temp_folder
-#    container-class Products.TemporaryFolder.TemporaryContainer
-# </zodb_db>
-# 
 # ZEO client storage:
+#
 # <zodb_db main>
 #   mount-point /
 #   <zeoclient>




More information about the Zope-Checkins mailing list