diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rwxr-xr-x | localgrid | 1 | ||||
-rwxr-xr-x | rrr | 9 | ||||
-rw-r--r--[-rwxr-xr-x] | runprebuild.bat | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | runprebuild2008.bat | 0 | ||||
-rwxr-xr-x | startUGAIM | 25 | ||||
-rwxr-xr-x | stopUGAIM | 17 |
7 files changed, 53 insertions, 0 deletions
@@ -34,3 +34,4 @@ cov/* | |||
34 | OpenSim/OpenSim.userprefs | 34 | OpenSim/OpenSim.userprefs |
35 | OpenSim/OpenSim.usertasks | 35 | OpenSim/OpenSim.usertasks |
36 | *~ | 36 | *~ |
37 | TODO | ||
diff --git a/localgrid b/localgrid new file mode 100755 index 0000000..ee196c6 --- /dev/null +++ b/localgrid | |||
@@ -0,0 +1 @@ | |||
cd ~/opensim/SecondLife-i686-1.21.6*/; localgrid & | |||
@@ -0,0 +1,9 @@ | |||
1 | cd "`dirname $0`"/ | ||
2 | git svn info | sed -ne '/^Revision:/s@.* @@p' > bin/svn_revision | ||
3 | cd bin | ||
4 | rm -f OpenSim.log | ||
5 | if [ $# -eq 0 ]; then | ||
6 | screen -S region -t RegionServer mono --debug OpenSim.exe | ||
7 | else | ||
8 | mono --debug OpenSim.exe | ||
9 | fi | ||
diff --git a/runprebuild.bat b/runprebuild.bat index ba0cd64..ba0cd64 100755..100644 --- a/runprebuild.bat +++ b/runprebuild.bat | |||
diff --git a/runprebuild2008.bat b/runprebuild2008.bat index 8927e9a..8927e9a 100755..100644 --- a/runprebuild2008.bat +++ b/runprebuild2008.bat | |||
diff --git a/startUGAIM b/startUGAIM new file mode 100755 index 0000000..02662e5 --- /dev/null +++ b/startUGAIM | |||
@@ -0,0 +1,25 @@ | |||
1 | #!/bin/bash | ||
2 | |||
3 | cd bin | ||
4 | |||
5 | rm -f *.log | ||
6 | |||
7 | echo "Starting UserServer" | ||
8 | start_aterm -e screen -S server -t UserServer mono --debug OpenSim.Grid.UserServer.exe & | ||
9 | sleep 5 | ||
10 | |||
11 | echo "Starting GridServer" | ||
12 | screen -S server -X screen -t GridServer mono --debug OpenSim.Grid.GridServer.exe | ||
13 | sleep 5 | ||
14 | |||
15 | echo "Starting AssetServer" | ||
16 | screen -S server -X screen -t AssetServer mono --debug OpenSim.Grid.AssetServer.exe | ||
17 | sleep 5 | ||
18 | |||
19 | echo "Starting InventoryServer" | ||
20 | screen -S server -X screen -t InventoryServer mono --debug OpenSim.Grid.InventoryServer.exe | ||
21 | sleep 5 | ||
22 | |||
23 | echo "Starting MessagingServer" | ||
24 | screen -S server -X screen -t MessagingServer mono --debug OpenSim.Grid.MessagingServer.exe | ||
25 | |||
diff --git a/stopUGAIM b/stopUGAIM new file mode 100755 index 0000000..b206e69 --- /dev/null +++ b/stopUGAIM | |||
@@ -0,0 +1,17 @@ | |||
1 | #!/bin/bash | ||
2 | DELAY=5 | ||
3 | |||
4 | screen -S server -X msgwait 1 | ||
5 | sleep 1 | ||
6 | screen -S server -X eval "select MessagingServer" "stuff ^Mshutdown^M" | ||
7 | sleep $DELAY | ||
8 | screen -S server -X eval "select InventoryServer" "stuff ^Mshutdown^M" | ||
9 | sleep $DELAY | ||
10 | screen -S server -X eval "select AssetServer" "stuff ^Mshutdown^M" | ||
11 | sleep $DELAY | ||
12 | screen -S server -X eval "select GridServer" "stuff ^Mshutdown^M" | ||
13 | sleep $DELAY | ||
14 | screen -S server -X eval "select UserServer" "stuff ^Mshutdown^M" | ||
15 | |||
16 | # just to be sure... | ||
17 | screen -d -r -S server | ||