[Zope-Checkins] CVS: Zope/skel/etc - zope.conf.in:1.21
Chris McDonough
chrism at zopemafia.com
Sat Dec 20 13:55:15 EST 2003
Update of /cvs-repository/Zope/skel/etc
In directory cvs.zope.org:/tmp/cvs-serv15999/skel/etc
Modified Files:
zope.conf.in
Log Message:
Main and temporary databases are no longer configured by default if databases aren't provided in the configuration. Change zope.conf.in to specify root and temporary databases.
=== Zope/skel/etc/zope.conf.in 1.20 => 1.21 ===
--- Zope/skel/etc/zope.conf.in:1.20 Wed Nov 26 18:26:33 2003
+++ Zope/skel/etc/zope.conf.in Sat Dec 20 13:55:14 2003
@@ -818,37 +818,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'.
-#
-# 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>
+# 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
#
-# 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>
@@ -858,4 +854,3 @@
# var $INSTANCE/var
# </zeoclient>
# </zodb_db>
-
More information about the Zope-Checkins
mailing list