On Tue, May 27, 2008 at 11:53 AM, Cherife Li &lt;<a href="mailto:cherife@dotimes.com">cherife@dotimes.com</a>&gt; wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi all,<br>
<br>
Has anyone noticed that `nginx -t&#39; outputs an empty pid file while the nginx process isn&#39;t running.<br>
</blockquote><div><br>no, but good catch!!!<br>&nbsp;<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
I can only add<br>
 &nbsp;if [ ! -s $PID ]; then<br>
 &nbsp; &nbsp;rm -f $PID<br>
 &nbsp;fi<br>
to the check-config section of my rc file at the moment.<br>
</blockquote><div><br>you dont need to, as far as i can tell. nginx just proceeds to overwrite that file with the proper value when it starts up...<br><br>-jf<br clear="all"></div></div><br>--<br>In the meantime, here is your PSA:<br>
&quot;It&#39;s so hard to write a graphics driver that open-sourcing it would not help.&quot;<br> -- Andrew Fear, Software Product Manager, NVIDIA Corporation<br><a href="http://kerneltrap.org/node/7228">http://kerneltrap.org/node/7228</a>