On Wed, 30 Jun 2004 22:43:54 -0500 Will Trillich <[EMAIL PROTECTED]> wrote:
> On Wed, Jun 30 at 06:25PM -0400, Derrick 'dman' Hudson wrote: > > On Wed, Jun 30, 2004 at 04:34:06PM -0500, Will Trillich wrote: > > | problem: xinetd, after working just fine and dandy for weeks at > > | a time, gets dozens of "unexpected signal" (source unknown) > > | and gives up the ghost. > > | > > | questions: > > | 1) what's the best way (e.g. debian way) to monitor active > > | daemons and restart them when necessary? maybe some > > | utility already exists for this? or /proc/something? > > | or `ps ax`? > > > > restartd. > > hmm. this sounds promising... > <snip> > xpacman? not quite what i had in mind. wokka wokka. :) <snip> > at http://backports.org, i search for "restartd" and get > > Sorry, no packages found. At the risk of starting a flamewar about whether djb's tools are a good way to do things or not... :-) Have you looked at daemontools? apt-cache show daemontools-installer, apt-cache show svtools. The sole purpose of daemontools is to make sure a program keeps running properly. I have successfully used it on occasion when I was working with a program that was known for crashing, but didn't consider the program important enough to make it run dependably. daemontools worked great. HTH, Jacob -- GnuPG Key: 1024D/16377135 Random .signature #32: I prefer an OS made by programmers that needs marketing than an OS made by marketing that needs programmers... http://www.linux.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]