pid file location even after setting pid directive
wandenberg at gmail.com
Fri Aug 1 15:22:39 UTC 2014
The configuration file used to start the server is the same been used to
If you start as
nginx -c /some/confi/file.conf
and stop as
nginx -c /some/confi/file.conf -s stop
it should work.
If you are only doing
nginx -s stop
it will use default configuration that point to another pid file
On Fri, Aug 1, 2014 at 12:11 PM, Mapper Uno <lists at ruby-forum.com> wrote:
> I have added pid directive to nginx config.
> Pid /home/ubuntu/ngx.pid
> Nginx -t -c (conf) also succeeds.
> However when I run nginx, and later try to stop it with nginx -s stop, I
> get following error:
> Open failed (2 No such file or directory,
> Please note that nginx is installed under /home/ubuntu/install
> Is any other directive missing ?
> Thanks in advance
> Posted via http://www.ruby-forum.com/.
> nginx mailing list
> nginx at nginx.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx