Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Keep-alive vs. Mongrel; saved by Thin
set :thin_conf, "#{current_path}/config/thin_cluster.yml"
namespace :deploy do
%w(star stop restar).each do |action|
task action.to_sym, :roles => :app do
run "thin -c #{deploy_to}/current -C #{thin_conf} #{action}"
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.