Quantcast
Channel: Nginx Forum - Nginx Mailing List - English
Viewing all articles
Browse latest Browse all 7229

pid file location even after setting pid directive (1 reply)

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

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Viewing all articles
Browse latest Browse all 7229

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>