aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/start-sim-in-rest
diff options
context:
space:
mode:
authorDavid Walter Seikel2011-11-26 20:34:08 +1000
committerDavid Walter Seikel2011-11-26 20:34:08 +1000
commitbd647a8347c7c22d03ff825c04be56f4ffe539a0 (patch)
treecd952419f2d4a6b67358b1cf5c9b2c6b42b02cfa /start-sim-in-rest
parentBetter file permissions, we REALLY don't need every damn mono file to be exec... (diff)
downloadIGnoble-bd647a8347c7c22d03ff825c04be56f4ffe539a0.zip
IGnoble-bd647a8347c7c22d03ff825c04be56f4ffe539a0.tar.gz
IGnoble-bd647a8347c7c22d03ff825c04be56f4ffe539a0.tar.bz2
IGnoble-bd647a8347c7c22d03ff825c04be56f4ffe539a0.tar.xz
Oops. Make sure it knows when it's already started.
Diffstat (limited to '')
-rwxr-xr-xstart-sim-in-rest2
1 files changed, 1 insertions, 1 deletions
diff --git a/start-sim-in-rest b/start-sim-in-rest
index e29490d..3313f57 100755
--- a/start-sim-in-rest
+++ b/start-sim-in-rest
@@ -67,7 +67,7 @@ cmd="/usr/bin/mono ${exe}.exe -inidirectory=${inidir} -logconfig=${inidir}/${exe
67title=$(head -n 1 ${inidir}/Regions/sim.ini ) 67title=$(head -n 1 ${inidir}/Regions/sim.ini )
68 68
69# Check if it's already running. 69# Check if it's already running.
70if [ ! -e /var/run/opensim/${tgt} ] 70if [ ! -e /var/run/opensim/${tgt}.pid ]
71then 71then
72 if [ "x$Screaming" = "xtrue" ] 72 if [ "x$Screaming" = "xtrue" ]
73 then 73 then