[Opensim-dev] shell script to restart after crash

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


yes.

it's an endless loop that restarts the Sim, if it wasn't closed without an error (i.e. got quit by the admin in a regular way).

-----Ursprüngliche Nachricht-----
Von: opensim-dev-bounces at lists.berlios.de im Auftrag von Jor3l Boa
Gesendet: Fr 09.07.2010 08:35
An: opensim-dev at lists.berlios.de
Betreff: Re: [Opensim-dev] shell script to restart after crash
 
Hi dirk, this script will work if OpenSim crash more than once?

2010/7/9 Dirk Krause <dirk.krause at pixelpark.com>

> 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
>
> _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-dev
>
>

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


More information about the Opensim-dev mailing list