How to autamicaly reload process after kill
Good morning. I'm setting up a guest account for my roommates so they can go on the net while im not there. I can do everything fine except that i want the web browser to automaticaly reload itself if it get closed( Wich by instinct someone will close it when they are done.)
I was thinkin of writing a script that would load firefox, looked for it pid, record it in a variable, then check for the existance of the pid in a loop and redo the whole script if the pid does not exist any more.
Now would that be the best way to go about it?
Or is there an easier, less time taking way to do so?
(running slackware 9.1 )