[CentOS] Help with bash script

Fri Jun 16 11:46:25 UTC 2006
Matt Hyclak <hyclak at math.ohiou.edu>

On Fri, Jun 16, 2006 at 06:39:52PM +0700, Fajar Priyanto enlightened us:
> Can someone pls help me on how to make this bash script?
> I want to monitor a process, and then when the process (for some reason) dies, 
> the script will start the process again.
> Thank you,

This is not the appropriate place for that kind of question. You should look
for help on a bash mailing-list, website or IRC channel. 

What you want to do sounds amazingly similar to what the mysqld_safe script
does, so you might consider looking at ohter examples like that to do what
you want.

Matt

-- 
Matt Hyclak
Department of Mathematics 
Department of Social Work
Ohio University
(740) 593-1263