lib/magic_recipes/thin.rb in magic_recipes-0.0.13 vs lib/magic_recipes/thin.rb in magic_recipes-0.0.14

- old
+ new

@@ -9,10 +9,10 @@ namespace :thin do desc "rewrite thin-configurations" task :reconf, roles: :app do template "thin_app_yml.erb", "#{current_path}/config/thin_app.yml" - run "#{sudo} rm #{thin_path}/thin_#{app_name}*" + run "#{sudo} rm -f #{thin_path}/thin_#{app_name}*" run "#{sudo} ln -sf #{current_path}/config/thin_app.yml #{thin_path}/thin_#{app_name}.yml" end # Start / Stop / Restart Thin %w[start stop restart].each do |command|