Re: [evolution-patches] [mailer] when starting spamd, use unix domain socket instead of opening tcp port #53109



On Wed, 2004-10-13 at 09:14 +0800, Not Zed wrote:

Is there any reason you don't just start it if it isn't started already?
this is what I do. I start it only if there's no system spamd running. we may additionally save socket path to e_mktemp generated file and look for running there, but that sounds overly complicated to me.

  I'm not sure i like the additions of the init stuff, and running it all the time.  What happens if it dies at some point?
when it dies then it will not detect any more junk. testing if spamd runs for each junk test is expensive.

what do you mean by "running it all the time", running what?

I think the init callback is useful and might be even more if we implement more plugins. btw, is it going to be possible to use EPlugin for junk plugins?

Also what happens if quit isn't called, does it keep running?  (e.g. if evo crashes or bad shutdown path).
yeah, it keeps running. there will be still pid file around, so we may kill it in --force-shutdown as we do with e-d-s.

R.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]