On Wed, Feb 27, 2002 at 04:29:49PM -0800, Paul Traina wrote: > By the way, for extra bonus points, use code that looks like the following > attachment. > To do this right, you really want to lock the pidfile after opening so that > multiple invocations don't occur.
I think that code might possibly cause some large perl syntax errors! spamd is written in perl, spamc is written in c. > > ----- Original Message ----- > From: "Duncan Findlay" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, February 27, 2002 4:09 PM > Subject: Re: Re: [SAtalk] BSD rc.d script and HTML spam > > > > On Wed, Feb 27, 2002 at 03:49:38PM -0800, Craig R Hughes wrote: > > > Stick it in bugzilla and I'll get to it sometime. Though isn't it > probably > > > easier (and more flexible) to get the pid in your shell, and have the > shell > > > write it to a file if you want to do that? > > > > > > > easier? no. > > more flexible? maybe. > > > > It'd be much better to have -d write the pid to /var/run/spamd. That's > what > > pretty much every other daemon does. > > > > > > -- > > Duncan Findlay > > > > _______________________________________________ > > Spamassassin-talk mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/spamassassin-talk > > > > > > -- Duncan Findlay _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk