You can do<div><br></div><div>supervisorctl restart chat</div><div><br></div><div><br><div class="gmail_quote">On Wed, Jun 2, 2010 at 12:00 PM, JCR <span dir="ltr">&lt;<a href="mailto:nginx-forum@nginx.us">nginx-forum@nginx.us</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi, it looks like the problem was that I was using getenv(&quot;SERVER_HOSTNAME&quot;).<br>
<br>
I am not sure why this happens but at least it is working now.<br>
<br>
When I change my chat program, I do<br>
supervisorctl shutdown; supervisord;<br>
<br>
to see the newer version. Is there a better way to that?<br>
<br>
Thanks again for your idea of using supervisord. Maybe that should go into wiki because it is quite convenient.<br>
<br>
Posted at Nginx Forum: <a href="http://forum.nginx.org/read.php?2,93268,93705#msg-93705" target="_blank">http://forum.nginx.org/read.php?2,93268,93705#msg-93705</a><br>
<div><div></div><div class="h5"><br>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://nginx.org/mailman/listinfo/nginx" target="_blank">http://nginx.org/mailman/listinfo/nginx</a><br>
</div></div></blockquote></div><br></div>