From ee78c4d2a8d6ac5aeee6e094298e789b6ba1343f Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Sat, 24 Sep 2011 00:22:23 +0100 Subject: Clarify explanation of the "DeleteScriptsOnStartup" config switch and add this to OpenSim.ini.example since it's very useful if you're not updating OpenSim from source. On reflection, "DeleteScriptsOnStartup" isn't a great name since it suggests real script deletion rather than compiled versions. --- bin/OpenSim.ini.example | 7 +++++++ bin/OpenSimDefaults.ini | 11 ++++++----- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/bin/OpenSim.ini.example b/bin/OpenSim.ini.example index 925c343..57a2e06 100644 --- a/bin/OpenSim.ini.example +++ b/bin/OpenSim.ini.example @@ -218,6 +218,13 @@ ;; server to send mail through. ; emailmodule = DefaultEmailModule + ; Controls whether previously compiled scripts are deleted on sim restart. If you disable this + ; then startup will be faster since scripts won't need to be recompiled. However, then it becomes your responsibility to delete the + ; compiled scripts if you're recompiling OpenSim from source code and internal interfaces used + ; by scripts have changed. + ; Default is false + ; DeleteScriptsOnStartup = true + [SMTP] ;; The SMTP server enabled the email module to send email to external diff --git a/bin/OpenSimDefaults.ini b/bin/OpenSimDefaults.ini index ca4fbfb..f5d7f4a 100644 --- a/bin/OpenSimDefaults.ini +++ b/bin/OpenSimDefaults.ini @@ -1182,11 +1182,12 @@ ;; Path to script assemblies ; ScriptEnginesPath = "ScriptEngines" - ; Whether to delete previously compiled scripts when the sim starts. If you disable this - ; then startup will be faster. However, then it becomes your responsibility to delete the - ; compiled scripts if OpenSim has changed enough that previously compiled scripts are no - ; longer compatible. - DeleteScriptsOnStartup = true + ; Controls whether previously compiled scripts are deleted on sim restart. If you disable this + ; then startup will be faster since scripts won't need to be recompiled. However, then it becomes your responsibility to delete the + ; compiled scripts if you're recompiling OpenSim from source code and internal interfaces used + ; by scripts have changed. + ; Default is false + ; DeleteScriptsOnStartup = true [OpenGridProtocol] -- cgit v1.1