From 72c28c5120c9bd87939c22b8b403b0aff426994c Mon Sep 17 00:00:00 2001 From: Homer Horwitz Date: Tue, 25 Nov 2008 18:39:36 +0000 Subject: [PATCH] Local changes --- .gitignore | 1 + localgrid | 1 + rrr | 9 +++++++++ runprebuild.bat | 0 runprebuild2008.bat | 0 startUGAIM | 25 +++++++++++++++++++++++++ stopUGAIM | 17 +++++++++++++++++ 7 files changed, 53 insertions(+) create mode 100755 localgrid create mode 100755 rrr mode change 100755 => 100644 runprebuild.bat mode change 100755 => 100644 runprebuild2008.bat create mode 100755 startUGAIM create mode 100755 stopUGAIM diff --git a/.gitignore b/.gitignore index b04c18512a..fb770e71ed 100644 --- a/.gitignore +++ b/.gitignore @@ -34,3 +34,4 @@ cov/* OpenSim/OpenSim.userprefs OpenSim/OpenSim.usertasks *~ +TODO diff --git a/localgrid b/localgrid new file mode 100755 index 0000000000..ee196c69e3 --- /dev/null +++ b/localgrid @@ -0,0 +1 @@ +cd ~/opensim/SecondLife-i686-1.21.6*/; localgrid & diff --git a/rrr b/rrr new file mode 100755 index 0000000000..26b98b8c2e --- /dev/null +++ b/rrr @@ -0,0 +1,9 @@ +cd "`dirname $0`"/ +git svn info | sed -ne '/^Revision:/s@.* @@p' > bin/svn_revision +cd bin +rm -f OpenSim.log +if [ $# -eq 0 ]; then + screen -S region -t RegionServer mono --debug OpenSim.exe +else + mono --debug OpenSim.exe +fi diff --git a/runprebuild.bat b/runprebuild.bat old mode 100755 new mode 100644 diff --git a/runprebuild2008.bat b/runprebuild2008.bat old mode 100755 new mode 100644 diff --git a/startUGAIM b/startUGAIM new file mode 100755 index 0000000000..02662e572f --- /dev/null +++ b/startUGAIM @@ -0,0 +1,25 @@ +#!/bin/bash + +cd bin + +rm -f *.log + +echo "Starting UserServer" +start_aterm -e screen -S server -t UserServer mono --debug OpenSim.Grid.UserServer.exe & +sleep 5 + +echo "Starting GridServer" +screen -S server -X screen -t GridServer mono --debug OpenSim.Grid.GridServer.exe +sleep 5 + +echo "Starting AssetServer" +screen -S server -X screen -t AssetServer mono --debug OpenSim.Grid.AssetServer.exe +sleep 5 + +echo "Starting InventoryServer" +screen -S server -X screen -t InventoryServer mono --debug OpenSim.Grid.InventoryServer.exe +sleep 5 + +echo "Starting MessagingServer" +screen -S server -X screen -t MessagingServer mono --debug OpenSim.Grid.MessagingServer.exe + diff --git a/stopUGAIM b/stopUGAIM new file mode 100755 index 0000000000..b206e69fdf --- /dev/null +++ b/stopUGAIM @@ -0,0 +1,17 @@ +#!/bin/bash +DELAY=5 + +screen -S server -X msgwait 1 +sleep 1 +screen -S server -X eval "select MessagingServer" "stuff ^Mshutdown^M" +sleep $DELAY +screen -S server -X eval "select InventoryServer" "stuff ^Mshutdown^M" +sleep $DELAY +screen -S server -X eval "select AssetServer" "stuff ^Mshutdown^M" +sleep $DELAY +screen -S server -X eval "select GridServer" "stuff ^Mshutdown^M" +sleep $DELAY +screen -S server -X eval "select UserServer" "stuff ^Mshutdown^M" + +# just to be sure... +screen -d -r -S server