# this is a collection of scripts that assist in managing an opensim server.
# it uses the "screen" utility to manage opensimulator instances.
-source "$FEISTY_MEOW_SCRIPTS/core/functions.sh"
+source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
# set up some parameters that we believe (or have been told) are beneficial.
export MONO_THREADS_PER_CPU=1208
# lock the limit in for threads, so we don't have any getting out of control.
# also make sure we've provided enough space for each thread.
-ulimit -s 262144
+ulimit -s 512144
# use more recent versions of mono for opensim if they're available.
if [ -d /opt/mono-2.10/bin ]; then
echo "$(date_stringer ' '): starting $screen_name now..."
screen -L -S "$screen_name" -d -m nice -n $NICENESS_LEVEL mono "$app_name"
##why? --debug
-#-console=basic
+#no, makes it ugly: -console=basic
+
echo "$(date_stringer ' '): $screen_name started."
# only sleep if we are not at the last process that gets started.
if [ "$app_name" != "OpenSim.exe" ]; then