Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Feb 1997 08:55:22 -0800
From:      Jason Wells <jcwells@u.washington.edu>
To:        Victor Rotanov <vitjok@fasts.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Process restarting
Message-ID:  <33146AFA.65D1@u.washington.edu>
References:  <3313FAE2.6B75@fasts.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Victor Rotanov wrote:
> 
> Hi.
> 
> Is there any way to restart a process after it dies?

Yes there is. Just run the command line with arguments as you would it
is normally done from init, rc, rc.local.

Example from my system.

/usr/local/bin/apache/src/httpd

Just like any other program.

> For example, if http server dies, it stops responding instead
> of just restarting.

I believe that you can find watchdog software that will check your
proccesses and restart them if needed. You might check it out.

-- 
 __   __
/ 0\ / 0\         Thank you * Highperformance.net            
     )     Wannabe Sysadmin * The homeless domain            
)-------(       Jason Wells * "Pardon me sir, spare some bandwidth?"  
 \_____/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?33146AFA.65D1>