Re: [SLUG]

From: Andrew M Hoerter (amh@pobox.com)
Date: Wed Oct 01 2003 - 00:33:41 EDT


On Tue, 30 Sep 2003, Robert E. Schaefer wrote:

> after it. What I looking for is a way to autostart 6 different
> instances of this at runlevel 3 and way of checking to make sure that
> all the servers are running and restart any that have crashed. Any
> help would be great thanks

Well, since you seem familiar with runlevels, init is one way to do this.
Just place the appropriate entries in /etc/inittab (see the inittab/init
manpages for details, and already existing entries for examples).

Or you could use a separate program to act as a nanny and keep the
services running. This is one of those things that's been implemented and
reimplemented a million times in the UNIX world. DJB's daemontools
package is as good as any for this purpose:

http://cr.yp.to/daemontools.html

-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 19:44:10 EDT