LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 04-13-2005, 03:35 PM   #1
AlexV
Member
 
Registered: May 2004
Location: New Lenox, IL
Distribution: Fedora Core 4; Ubuntu 5.10 (Breezy Preview); CentOS 4
Posts: 81

Rep: Reputation: 15
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
 
Old 04-13-2005, 05:23 PM   #2
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatically Restart Service tulip4heaven Linux - General 1 04-23-2005 02:11 AM
Restart a program sibtay Programming 4 09-28-2004 10:46 AM
i need to write a program it has to execute automatically ykirankumar Linux - Software 5 08-31-2004 12:34 AM
Automatically Restart Server?? flamesrock Linux - Software 4 08-07-2004 09:25 PM
kernel automatically restart if there is a panic kernelpanicguy Linux - Software 3 07-29-2003 09:06 PM


All times are GMT -5. The time now is 09:37 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration