ct9a
1
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
ct9a
2
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
ct9a
3
ct9a
4
Gordon Y. 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>