I'm a little confused about my deployment strategy here, when deploying, under what circumstances do I want to send a signal to the reloadunicorn? For example, in my case, it would look like this:
sudo kill -s USR2 `cat /home/deploy/apps/my_app/current/tmp/pids/unicorn.pid`
I deploy my applications by killing this pid, and then start the unicorn again through something like:
bundle exec unicorn -c config/unicorn/production.rb -E production -D
I'm just wondering why I want to use reboot? Can I get any performance for my deployment by doing this?
source
share