u can use it http://gist.github.com/428270 for manage your nginx
Ivan Nastyukhin [email protected] On Jun 7, 2010, at 9:50 AM, Gordon Yeong wrote: > i think i found something. > Just send a SIGHUP signal to the nginx process via kill. > Seems to work well. > Anyone got a better idea? :) > > thanks > > > > On 6 June 2010 14:10, ct9a <[email protected]> wrote: > hi guys, > > Assuming I made some changes to the source code. > My production environment runs on passenger and nginx. > > How do I restart passenger and nginx with minimal downtime? > > > Surely I can't do a "w" on the terminal because a server will not > always be in zero load. > > Would love to hear some recommendations. > > > PS- I have read on unicorn (http://github.com/blog/517-unicorn) but > would love to hear what we can do for passenger. > > thanks > > > -- > 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. -- 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.

