desc "Restart Application"task :restart do run "touch #{current_release}/tmp/restart.txt"end
原文地址:Capistrano restart Passenger Server, 感谢原作者分享。 感悟了不同的人生。凌晨,随着滑轮接触地面,
desc "Restart Application"task :restart do run "touch #{current_release}/tmp/restart.txt"end