Refactor using capistrano-unicorn as an example