diff options
author | David Walter Seikel | 2011-11-26 20:34:08 +1000 |
---|---|---|
committer | David Walter Seikel | 2011-11-26 20:34:08 +1000 |
commit | bd647a8347c7c22d03ff825c04be56f4ffe539a0 (patch) | |
tree | cd952419f2d4a6b67358b1cf5c9b2c6b42b02cfa /start-sim-in-rest | |
parent | Better file permissions, we REALLY don't need every damn mono file to be exec... (diff) | |
download | IGnoble-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-x | start-sim-in-rest | 2 |
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 | |||
67 | title=$(head -n 1 ${inidir}/Regions/sim.ini ) | 67 | title=$(head -n 1 ${inidir}/Regions/sim.ini ) |
68 | 68 | ||
69 | # Check if it's already running. | 69 | # Check if it's already running. |
70 | if [ ! -e /var/run/opensim/${tgt} ] | 70 | if [ ! -e /var/run/opensim/${tgt}.pid ] |
71 | then | 71 | then |
72 | if [ "x$Screaming" = "xtrue" ] | 72 | if [ "x$Screaming" = "xtrue" ] |
73 | then | 73 | then |