Re: Using Inet to launch spamd

2006-02-14 Thread Henry F. Camacho Jr
Yes, I believe I outlined this in a previous message. HFC mouss wrote: Henry F. Camacho Jr a écrit : Matt: Hmmm... Matt, this is exactly what init is designed to do, it will respawn any daemon that stops running, and reruns it automatically. Some people use something called daemon tool

Re: Using Inet to launch spamd

2006-02-13 Thread mouss
Theo Van Dinter a écrit : > On Sun, Feb 12, 2006 at 10:49:50AM -0800, Don O'Neil wrote: > >>Anyone using inetd to launch spamd? I've had my process die a couple of >>times and it would be nice to have inetd around to make sure it's allways >>running. If you have, what did you put in inetd.conf? >

Re: Using Inet to launch spamd

2006-02-13 Thread mouss
Henry F. Camacho Jr a écrit : > Matt: > > Hmmm... Matt, this is exactly what init is designed to do, it will > respawn any daemon that stops running, and reruns it automatically. > Some people use something called daemon tools, or something called > supervisor, all which work just fine. I think

Re: Using Inet to launch spamd

2006-02-12 Thread Payal Rathod
On Sun, Feb 12, 2006 at 10:49:50AM -0800, Don O'Neil wrote: > Anyone using inetd to launch spamd? I've had my process die a couple of > times and it would be nice to have inetd around to make sure it's allways > running. If you have, what did you put in inetd.conf? You can run it with tcpserver an

Re: Using Inet to launch spamd

2006-02-12 Thread Theo Van Dinter
On Sun, Feb 12, 2006 at 10:49:50AM -0800, Don O'Neil wrote: > Anyone using inetd to launch spamd? I've had my process die a couple of > times and it would be nice to have inetd around to make sure it's allways > running. If you have, what did you put in inetd.conf? You can't run it from inetd (spa

Re: Using Inet to launch spamd

2006-02-12 Thread Matt Kettler
Henry F. Camacho Jr wrote: > Matt: > > Hmmm... Matt, this is exactly what init is designed to do, it will > respawn any daemon that stops running, and reruns it automatically. > Some people use something called daemon tools, or something called > supervisor, all which work just fine. I think ini

Re: Using Inet to launch spamd

2006-02-12 Thread Henry F. Camacho Jr
Matt: Hmmm... Matt, this is exactly what init is designed to do, it will respawn any daemon that stops running, and reruns it automatically. Some people use something called daemon tools, or something called supervisor, all which work just fine. I think init does a great job of this also a

Re: Using Inet to launch spamd

2006-02-12 Thread Matt Kettler
Henry F. Camacho Jr wrote: > Don: > > Another way to do this is to do it during init. Yes, but that doesn't solve his problem. It's also probably what Don is doing right now. Dons problem is spamd crashing and dying. He's looking for a mechanism to ensure it gets restarted even if it crashes. i

RE: Using Inet to launch spamd

2006-02-12 Thread Ruben Cardenal
Hi, > times and it would be nice to have inetd around to make sure it's allways > running. If you have, what did you put in inetd.conf? If you want to ensure spamd is always running, use it under tcpserver My /service/spamd/run script: #!/bin/sh exec /usr/bin/spamd --siteconfigpath=/etc/mail/

Re: Using Inet to launch spamd

2006-02-12 Thread Henry F. Camacho Jr
Don: Another way to do this is to do it during init. If you configure /etc/inittab correctly the system will spawn spamd and insure that the daemon stays running. I do this is with clam antivirus. /etc/inittab # CLAMD cl:2345:respawn:/usr/local/sbin/clamd One down side of doing something l

Re: Using Inet to launch spamd

2006-02-12 Thread Matt Kettler
Don O'Neil wrote: > Anyone using inetd to launch spamd? I've had my process die a couple of > times and it would be nice to have inetd around to make sure it's allways > running. If you have, what did you put in inetd.conf? Using inetd would cause a new spamd instance to be launched for every mess

Re: Using Inet to launch spamd

2006-02-12 Thread Russ B.
> Anyone using inetd to launch spamd? I've had my process die a couple of > times and it would be nice to have inetd around to make sure it's allways > running. If you have, what did you put in inetd.conf? > > Thanks! > I use FreeBSD, so mine starts with my rc.d startup. You could always start the