X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fopensim%2Fopensim_utils.sh;fp=scripts%2Fopensim%2Fopensim_utils.sh;h=d9d9d654784b9732a893c233486cced77a157005;hb=7b39f7e279005c8466ef508220a532ce2aa4abf8;hp=c45ab0de0113d63c789de05d0483a677516d6188;hpb=3fbd372b35b15a19fb171d5ae34294ff7b1e6485;p=feisty_meow.git diff --git a/scripts/opensim/opensim_utils.sh b/scripts/opensim/opensim_utils.sh index c45ab0de..d9d9d654 100644 --- a/scripts/opensim/opensim_utils.sh +++ b/scripts/opensim/opensim_utils.sh @@ -2,7 +2,7 @@ # 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 @@ -36,9 +36,10 @@ function launch_screen() screen_name="$1"; shift app_name="$1"; shift echo "$(date_stringer ' '): starting $screen_name now..." - screen -L -S "$screen_name" -d -m nice -n $NICENESS_LEVEL mono "$app_name" -##why? --debug -#no, makes it ugly: -console=basic +#hmmm: version check for if we're using old screen? this -L change was a mistake though for the screen project owners on ubuntu. +#local boguslog=$HOME/screen_junk_$(date_stringer).log +#maybe they unbroke it in 17.10? + screen -L$boguslog -S "$screen_name" -d -m nice -n $NICENESS_LEVEL mono "$app_name" echo "$(date_stringer ' '): $screen_name started." # only sleep if we are not at the last process that gets started.