Hello, I'm working with debian squeeze in an embedded system that have an ARMv5 on it.
I need to maintain active several programs, they always have to be running, and if they die, no matter what happend, they must be launched again.
Now I have one script for each program that basically do this:
Code:
#!/bin/bash
cd /opt/
java -jar myProgram.jar
exit 0
And then I call all the script from etc/inittab whith respawn. That work fine for me, but I think that there is a better way to do this...