From owner-freebsd-questions Wed Feb 26 08:56:24 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA17816 for questions-outgoing; Wed, 26 Feb 1997 08:56:24 -0800 (PST) Received: from mailhost1.cac.washington.edu (mailhost1.cac.washington.edu [140.142.32.2]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id IAA17809 for ; Wed, 26 Feb 1997 08:56:20 -0800 (PST) Received: from s5-25-199.student.washington.edu (S5-25-199.student.washington.edu [128.95.25.199]) by mailhost1.cac.washington.edu (8.8.4+UW96.12/8.8.4+UW96.12) with SMTP id IAA08022; Wed, 26 Feb 1997 08:56:04 -0800 Message-ID: <33146AFA.65D1@u.washington.edu> Date: Wed, 26 Feb 1997 08:55:22 -0800 From: Jason Wells Organization: (soon to be) Highperformance.net X-Mailer: Mozilla 3.0Gold (Win95; I) MIME-Version: 1.0 To: Victor Rotanov CC: freebsd-questions@freebsd.org Subject: Re: Process restarting References: <3313FAE2.6B75@fasts.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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?" \_____/