When I stop nginx like this on ubuntu 12.04, I get the following errors:
$ sudo service nginx stop Stopping nginx: nginx. $sudo service nginx start Starting nginx: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
I have to use this to fix it. Why does't stopping the service kill the nginx process? That is confusing!