I\'ve got following settings in deploy.rb to restart my server:
namespace :deploy do
task :restart do
run \"if [ -f #{unicorn_pid} ] &&
see here my baby~ Restarting Unicorn with USR2 doesn't seem to reload production.rb settings
Keep in mind that: your working directory in unicorn.rb should be : /your/cap/directory/current
NOT be: File.expand_path("../..", FILE)
Because the unicorn and linux soft link forking error: soft link can not work well.