ss [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 08, 2003 1:15 PM
To: [EMAIL PROTECTED]
Subject: Re: Script to check if a service is running...restart if not
On Wed, Oct 08, 2003 at 10:03:19AM -0700, John L wrote:
> Good morning. I'm looking for an example of a script that I can r
On Wed, Oct 08, 2003 at 10:03:19AM -0700, John L wrote:
> Good morning. I'm looking for an example of a script that I can run
> as a cron job every five minutes that will check to see if a daemon
> is running (named) and restart it if it is not.
Rough, and untested ...
service $service status &>