Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix capistrano recipe

  • Loading branch information...
commit fa35be87a46131f8fe520df5094b256bc1d121e2 1 parent deddeed
@soylent soylent authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/puma/capistrano.rb
View
4 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.
Something went wrong with that request. Please try again.