I have a RubyOnRails project, and deployed it with Unicorn on nginx on an Ubuntu server.
I need to restart Unicorn if I change one of configuration files, but it makes my site shut down when I kill Unicorn’s master process and start it again with bundle exec.
Is there any way to make Unicorn work with new files without killing the process and going down?
In my capistrano deploy.rb I have:
This is well documented in “Lighting fast, zero-downtime deployments with git, capistrano, nginx and Unicorn“.