LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Way to automatically restart a program? (https://www.linuxquestions.org/questions/linux-general-1/way-to-automatically-restart-a-program-312920/)

AlexV 04-13-2005 03:35 PM

Way to automatically restart a program?
 
Does anyone know of a way to automatically restart a program if it is closed? I work for a small public library and we want to set up a web browser kiosk running Firefox.

Basically, Firefox should start up as soon as the user 'public' logs in and restart itself if a user closes it. I'm guessing this could all be done with shell scripts...

Any advice is greatly appreciated :)

SciYro 04-13-2005 05:23 PM

daemon tools might work?, but also could a script that starts when the user logs in, it just checks if firefox is running, if not, run it, then sleep for a bit, then do it all over.


All times are GMT -5. The time now is 04:42 AM.