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 (Unicorn! | The GitHub Blog) but
would love to hear what we can do for passenger.
thanks
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
u can use it
http://gist.github.com/428270
for manage your nginx
Ivan Nastyukhin
dieinzige@me.com
11155
(-- --)
4
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
Yep, use: $ kill -HUP <nginx_pid>