<div class="gmail_quote">On Fri, Jul 15, 2011 at 10:49 PM, Viatcheslav Gachkaylo <span dir="ltr"><<a href="mailto:vgachkaylo@gmail.com">vgachkaylo@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello.<br>
<br>
Can you tell me what are the best practices for setting up a twistd<br>
daemon in a linux (centos) environment on a server. The server should<br>
be always uptime and relaunch on fatal error. I am sure there is a<br>
common procedure for this.<br>
<br></blockquote><div><br></div><div>I like using Supervisor (<a href="http://supervisord.org/">http://supervisord.org/</a>) for this purpose, running with "twistd -n".</div><div> </div></div><br>-- <br>Christopher Armstrong<br>
<a href="http://radix.twistedmatrix.com/">http://radix.twistedmatrix.com/</a><br><a href="http://planet-if.com/">http://planet-if.com/</a><br><br><br>