updated restart deploy

This commit is contained in:
Simon Tokumine 2011-07-05 17:59:40 +01:00
parent 6b67fc4877
commit bd44142e65

View File

@ -58,7 +58,8 @@ namespace :deploy do
end
task :restart, :roles => :app, :except => { :no_release => true } do
sudo "restart #{application} || sudo start #{application}"
sudo "stop #{application}"
sudo "start #{application}"
end
task :create_deploy_to_with_sudo, :roles => :app do