Not sure if this will help as I am running nginx in Ubuntu, but it took me a
bit to find this. These are the commands that work for me:

Stop nginx: sudo /opt/nginx/sbin/nginx -s stop
Start nginx: sudo /opt/nginx/sbin/nginx

2010/7/16 Pål Bergström <[email protected]>

> I'm trying to get rails running with Nginx. I have Nginx installed using
> Macports and I can get it running. But I can't stop it. This will not
> work:
>
> alias nginx-stop="sudo launchctl unload
> /Library/LaunchDaemons/org.macports.nginx.plist"
>
> I get "launchctl: Error unloading: nginx".
>
> Using "killall nginx" didn't stop it either, before. Now it suddenly
> does. Is this a good way to stop it?
> --
> Posted via http://www.ruby-forum.com/.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<rubyonrails-talk%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to