Lansing, Dan writes: > I have written a small ugly script to restart some services which > occasionally quit for unknown reasons...is there a way I can write a > script to check if the services are running and run my restart script > if they die? Use a daemon monitoring program such as daemontools: http://cr.yp.to/daemontools.html There are a number of reasons why you want to use daemontools: http://cr.yp.to/daemontools/faq/create.html#why Here is a collection of run scripts for daemontools or runit: http://smarden.org/runit/runscripts.html -- David Phillips <david at acz.org> http://david.acz.org/ _______________________________________________ TCLUG Mailing List - Minneapolis/St. Paul, Minnesota http://www.mn-linux.org tclug-list at mn-linux.org https://mailman.real-time.com/mailman/listinfo/tclug-list