On Wed, 22 May 2002, Dallas Engelken wrote:
> Anyone run spamd from daemontools?  When I try and 
> exec /usr/bin/spamd -d -F0 
> 
> it forks off, and then I get readproctile erros.  When I try and 
> exec /usr/bin/spamd -F0
> 
> everything is peachy, spamd binds to port 783 and all, but spamc cant talk to it.  
>Check out the following...
[...]
> I'm not even going to demonstrate exec'ing spamd with -d, because it just blows up :)

The problem with the -d option is that you're telling spamd to detach
from the current process and run in the background, but supervise
expects any service it's monitoring to remain in the foreground.  When
spamd detaches, supervise thinks it's gone away and keeps trying to
restart it, 

This only seems to be mentioned in the daemontools FAQ:
http://cr.yp.to/daemontools/faq/create.html#fghack

John.

-- 
John Gaughan, Systems Administrator
Irish Times New Media - http://www.ireland.com/


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to