projects
/
feisty_meow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7dcdc62
)
fixed name of screen session used.
author
Fred T. Hamster
<fred@gruntose.com>
Fri, 27 Sep 2013 12:41:20 +0000
(08:41 -0400)
committer
Fred T. Hamster
<fred@gruntose.com>
Fri, 27 Sep 2013 12:41:20 +0000
(08:41 -0400)
scripts/opensim/maybe_restart_opensim.sh
patch
|
blob
|
history
diff --git
a/scripts/opensim/maybe_restart_opensim.sh
b/scripts/opensim/maybe_restart_opensim.sh
index 10ee9bb3f44d465c8db25e023f8c0f8a480c342f..dc8a4b2ae379712f60861b8d90b98a2b61b930f0 100644
(file)
--- 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.
# 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.
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
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
OpenS
im OpenSim.exe
+ launch_screen
opens
im OpenSim.exe
echo "$(date): Restarted opensim instance on $(hostname)."
echo
popd &>/dev/null
echo "$(date): Restarted opensim instance on $(hostname)."
echo
popd &>/dev/null