From 229ca09b7956f51fc2618dc35dff87cf04bf0fc9 Mon Sep 17 00:00:00 2001 From: "Justin Clark-Casey (justincc)" Date: Sat, 22 Oct 2011 02:47:53 +0100 Subject: [PATCH] Make config comments about choosing assetcache modules clearer. OpenSim needs an asset cache. Running without one will cause problems. Thanks to Ai Austin for the suggestions in http://opensimulator.org/mantis/view.php?id=4850 --- bin/config-include/GridCommon.ini.example | 2 ++ .../StandaloneCommon.ini.example | 34 +++++++++---------- 2 files changed, 19 insertions(+), 17 deletions(-) diff --git a/bin/config-include/GridCommon.ini.example b/bin/config-include/GridCommon.ini.example index c5598c087e..72cd606ee1 100644 --- a/bin/config-include/GridCommon.ini.example +++ b/bin/config-include/GridCommon.ini.example @@ -1,3 +1,5 @@ +; This is the main configuration file for an instance of OpenSim running in grid mode + [DatabaseService] ; ; ### Choose the DB diff --git a/bin/config-include/StandaloneCommon.ini.example b/bin/config-include/StandaloneCommon.ini.example index c057887bf4..b6b1eb5c97 100644 --- a/bin/config-include/StandaloneCommon.ini.example +++ b/bin/config-include/StandaloneCommon.ini.example @@ -1,4 +1,4 @@ -; This is the main configuration file for standalone OpenSim instances +; This is the main configuration file for an instance of OpenSim running in standalone mode [DatabaseService] ; @@ -24,6 +24,22 @@ ;StorageProvider = "OpenSim.Data.MSSQL.dll" ;ConnectionString = "Server=localhost\SQLEXPRESS;Database=opensim;User Id=opensim; password=***;" +[Modules] + ;; Choose one cache module and the corresponding config file, if it exists. + ;; Copy the config .example file into your own .ini file and alter that + ;; We recommend the use of the FlotsamAssetCache since this is most actively maintained. + + AssetCaching = "FlotsamAssetCache" + Include-FlotsamCache = "config-include/FlotsamCache.ini" + + ;AssetCaching = "CenomeMemoryAssetCache" + ;Include-CenomeCache = "config-include/CenomeCache.ini" + + ;AssetCaching = "GlynnTuckerAssetCache" + + ;; Authorization is not on by default, as it depends on external php + ;AuthorizationServices = "LocalAuthorizationServicesConnector" + [AssetService] DefaultAssetLoader = "OpenSim.Framework.AssetLoader.Filesystem.dll" AssetLoaderArgs = "assets/AssetSets.xml" @@ -42,22 +58,6 @@ ;; uncomment the next line. You may want to do this on sims that have licensed content. ; OutboundPermission = False -[Modules] - ;; Choose 0 or 1 cache modules, and the corresponding config file, if it exists. - ;; Copy the config .example file into your own .ini file and change configs there - ;; We recommend the use of the FlotsamAssetCache since this is most actively maintained. - - AssetCaching = "FlotsamAssetCache" - Include-FlotsamCache = "config-include/FlotsamCache.ini" - - ;AssetCaching = "GlynnTuckerAssetCache" - - ; AssetCaching = "CenomeMemoryAssetCache" - ; Include-CenomeCache = "config-include/CenomeCache.ini" - - ;; Authorization is not on by default, as it depends on external php - ;AuthorizationServices = "LocalAuthorizationServicesConnector" - [GridService] ;; For in-memory region storage (default) StorageProvider = "OpenSim.Data.Null.dll:NullRegionData"