sry, this better belongs to this list, I suppose.

-- Dirk
-----Ursprüngliche Nachricht-----
Von: [email protected] im Auftrag von Dirk Krause
Gesendet: Fr 09.07.2010 08:19
An: [email protected]
Betreff: shell script to restart after crash
 
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
[email protected]
https://lists.berlios.de/mailman/listinfo/opensim-dev
_______________________________________________
Opensim-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/opensim-users

Reply via email to