I suggest you take a peek at daemontools. It does more-or-less the same, but much cleaner ;-)
The machine is running 3.7-7
On 6/28/05, Bert Freudenberg bert@impara.de wrote:
What VM are you running? Anyway, I, too, run it in a loop, just in case (hadn't much time to investigate the crashes, yet):
#!/bin/sh DIR=`dirname $0` exec nohup sh -c "while true; do $DIR/runss ; sleep 5; done"
Also, if it hangs, you can just kill it. I renamed the vm to make it stand out in the process listing for that.
- Bert -