[Opensim-dev] shell script to restart after crash

Jor3l Boa jor3l at foravatars.com
Fri Jul 9 06:35:37 UTC 2010


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 --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20100709/fa7d2ea2/attachment-0001.html>


More information about the Opensim-dev mailing list