From 1fd6f35241043c8de0d073f2419afb64ccc883ba Mon Sep 17 00:00:00 2001 From: "Fred T. Hamster" Date: Fri, 27 Sep 2013 08:41:20 -0400 Subject: [PATCH] fixed name of screen session used. --- scripts/opensim/maybe_restart_opensim.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/opensim/maybe_restart_opensim.sh b/scripts/opensim/maybe_restart_opensim.sh index 10ee9bb3..dc8a4b2a 100644 --- a/scripts/opensim/maybe_restart_opensim.sh +++ b/scripts/opensim/maybe_restart_opensim.sh @@ -2,6 +2,8 @@ # this locates the main opensim process if possible. if we cannot find it, # then the process is restarted. +#hmmm: this is really more for osgrid, since opensim has two servers. + source $FEISTY_MEOW_SCRIPTS/opensim/opensim_utils.sh # see if the process is findable. @@ -12,7 +14,7 @@ find_opensim_process OpenSim.exe if [ -z "$OS_PROC_ID" ]; then # jump into the opensim binaries directory so we can run stuff. pushd $HOME/opensim/bin &>/dev/null - launch_screen OpenSim OpenSim.exe + launch_screen opensim OpenSim.exe echo "$(date): Restarted opensim instance on $(hostname)." echo popd &>/dev/null -- 2.34.1