aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/start-sim
diff options
context:
space:
mode:
authorDavid Walter Seikel2011-11-27 19:31:33 +1000
committerDavid Walter Seikel2011-11-27 19:31:33 +1000
commitd8b6646a004060edf073b96065fdbb979baa2f68 (patch)
tree4f8d9af35f9758037cca167d255eaecb8e02c97e /start-sim
parentRename the start up script. (diff)
downloadIGnoble-d8b6646a004060edf073b96065fdbb979baa2f68.zip
IGnoble-d8b6646a004060edf073b96065fdbb979baa2f68.tar.gz
IGnoble-d8b6646a004060edf073b96065fdbb979baa2f68.tar.bz2
IGnoble-d8b6646a004060edf073b96065fdbb979baa2f68.tar.xz
Trying to make things safer for upgrades and some general tweaks.
Diffstat (limited to '')
-rwxr-xr-xstart-sim6
1 files changed, 5 insertions, 1 deletions
diff --git a/start-sim b/start-sim
index 3313f57..dbb1beb 100755
--- a/start-sim
+++ b/start-sim
@@ -44,7 +44,11 @@ else
44 SUDO="sudo -Hu opensim" 44 SUDO="sudo -Hu opensim"
45fi 45fi
46 46
47# Would be nice if this worked.
48export MONO_PATH=${bindir}
49# Then we would not have to do this, and subsequently write all over the damn bin directory.
47cd ${bindir} 50cd ${bindir}
51
48if [ "x$Screaming" = "xtrue" ] 52if [ "x$Screaming" = "xtrue" ]
49then 53then
50 if ($screen_check | grep -q ${console_name}); then 54 if ($screen_check | grep -q ${console_name}); then
@@ -63,7 +67,7 @@ else
63fi 67fi
64 68
65inidir=/opt/opensim/config/${tgt} 69inidir=/opt/opensim/config/${tgt}
66cmd="/usr/bin/mono ${exe}.exe -inidirectory=${inidir} -logconfig=${inidir}/${exe}.exe.config $NeedARest" 70cmd="/usr/bin/mono ${bindir}/${exe}.exe -inidirectory=${inidir} -logconfig=${inidir}/${exe}.exe.config $NeedARest"
67title=$(head -n 1 ${inidir}/Regions/sim.ini ) 71title=$(head -n 1 ${inidir}/Regions/sim.ini )
68 72
69# Check if it's already running. 73# Check if it's already running.