[Twisted-Python] [newb] daemon question
Glyph Lefkowitz
glyph at twistedmatrix.com
Fri Nov 5 12:01:13 MDT 2010
On Nov 5, 2010, at 1:40 PM, Neal Becker wrote:
> I have put together a simple twisted server using xmlrpc and process. I
> want to run this server as a unix daemon.
>
> Specifically, detach from controlling terminal, and redirect stdout, stderr
> to a log file.
>
> What is the easiest approach, and where to look for documentation on this?
Write your server as a .tac file or twistd plugin, and then run twistd without -n.
See:
<http://twistedmatrix.com/documents/10.1.0/core/howto/application.html>
<http://twistedmatrix.com/documents/10.1.0/core/howto/tap.html>
More information about the Twisted-Python
mailing list