checking config outputs a pid file
Jeffrey 'jf' Lim
jfs.world at gmail.com
Tue May 27 08:52:14 MSD 2008
On Tue, May 27, 2008 at 11:53 AM, Cherife Li <cherife at dotimes.com> wrote:
> Hi all,
> Has anyone noticed that `nginx -t' outputs an empty pid file while the
> nginx process isn't running.
no, but good catch!!!
> I can only add
> if [ ! -s $PID ]; then
> rm -f $PID
> to the check-config section of my rc file at the moment.
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...
In the meantime, here is your PSA:
"It's so hard to write a graphics driver that open-sourcing it would not
-- Andrew Fear, Software Product Manager, NVIDIA Corporation
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx