pid file location even after setting pid directive

Mapper Uno lists at ruby-forum.com
Fri Aug 1 15:11:13 UTC 2014


Hi,

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,
/home/ubuntu/install/nginx/logs/nginx.pid

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/.



More information about the nginx mailing list