Re: [Twisted-Python] [newb] daemon question

2010-11-05 Thread Carlos Valiente
On Fri, Nov 5, 2010 at 17:40, 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. You might want to have a look at daemontools (http://cr.yp.to/daemontools.html). It will also take care of restarting your daemon

Re: [Twisted-Python] [newb] daemon question

2010-11-05 Thread Glyph Lefkowitz
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 approa

Re: [Twisted-Python] [newb] daemon question

2010-11-05 Thread Jason Rennie
I often use "nohup" for this sort of thing. An alternative would be to add it to /etc/init.d and /etc/rc?.d Cheers, Jason On Fri, 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. >