[Opensim-dev] shell script to restart after crash

Dirk Krause dirk.krause at pixelpark.com
Fri Jul 9 06:19:06 UTC 2010


Hi,

just for info: this script from a colleague of mine came handy to keep my OpenSims running.

I know it's not rocket science but useful. Instead of calling mono OpenSim.exe you start this script:

--snip--

until mono OpenSim.exe ; do

    EXIT_CODE=$?

    echo "`date +%Y-%m-%d\ \ %T` # OpenSim crashed with exit code $EXIT_CODE. Restart..." >> crash.log

    sleep 1

done

--snip--

Best,
  Dirk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 2696 bytes
Desc: not available
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20100709/4854209d/attachment-0001.bin>


More information about the Opensim-dev mailing list