lib/rmd/deploy_service.rb in rmdd-0.1.1 vs lib/rmd/deploy_service.rb in rmdd-0.1.2
- old
+ new
@@ -9,10 +9,10 @@
system("curl -s #{url(server)}/deploy/#{token(server)}")
end
def self.restart(server)
validate(server)
- command = %{echo "cd #{NAME} && sh deploy.sh" | ssh #{master(server)}}
+ command = %{echo "cd #{NAME} && sh deploy.sh" | ssh #{master(server)} -p 2200}
system(command)
end
private