Permalink
Browse files

Fix capistrano recipe

  • Loading branch information...
1 parent deddeed commit fa35be87a46131f8fe520df5094b256bc1d121e2 @soylent soylent committed Mar 19, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/puma/capistrano.rb
@@ -17,12 +17,12 @@
desc 'Stop puma'
task :stop, :roles => lambda { fetch(:puma_role) }, :on_no_matching_servers => :continue do
- run "cd #{current_path} && #{fetch(:pumactl_cmd)} -S fetch(:puma_state) stop"
+ run "cd #{current_path} && #{fetch(:pumactl_cmd)} -S #{fetch(:puma_state)} stop"
end
desc 'Restart puma'
task :restart, :roles => lambda { fetch(:puma_role) }, :on_no_matching_servers => :continue do
- run "cd #{current_path} && #{fetch(:pumactl_cmd)} -S fetch(:puma_state) restart"
+ run "cd #{current_path} && #{fetch(:pumactl_cmd)} -S #{fetch(:puma_state)} restart"
end
end
end

0 comments on commit fa35be8

Please sign in to comment.