[Spambayes] [spambayes-dev] Running sb_server.py from init under Linux

Tony Meyer tameyer at ihug.co.nz
Mon Jan 30 09:35:39 CET 2006


[Moved to spambayes at python.org.  spambayes-dev is for discussion  
about the development of SpamBayes: see http://spambayes.org/ 
contact.html]

[Richard Heck]
> (1) Is there any reason that sb_server.py needs to run as root?

No, just make sure you're using ports accessible to the user, that  
the scripts (and Python) are executable by the user, and that the  
databases are both read & writable by the user.  Why do you think it  
needs to be run as root?

> (2) The initscripts call daemon(),
[...]
> Is it worth considering having sb_server.py do that, too?

I presume you're referring to the script on http://spambayes.org/ 
unix.html contributed by Dave Handley.  If you'd like to submit your  
own script, we'd be happy to put that up with the others.

=Tony.Meyer


More information about the SpamBayes mailing list