Skip to content
This repository
Browse code

Fix capistrano recipe

  • Loading branch information...
commit fa35be87a46131f8fe520df5094b256bc1d121e2 1 parent deddeed
Soylent Soylent authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 lib/puma/capistrano.rb
4 lib/puma/capistrano.rb
@@ -17,12 +17,12 @@
17 17
18 18 desc 'Stop puma'
19 19 task :stop, :roles => lambda { fetch(:puma_role) }, :on_no_matching_servers => :continue do
20   - run "cd #{current_path} && #{fetch(:pumactl_cmd)} -S fetch(:puma_state) stop"
  20 + run "cd #{current_path} && #{fetch(:pumactl_cmd)} -S #{fetch(:puma_state)} stop"
21 21 end
22 22
23 23 desc 'Restart puma'
24 24 task :restart, :roles => lambda { fetch(:puma_role) }, :on_no_matching_servers => :continue do
25   - run "cd #{current_path} && #{fetch(:pumactl_cmd)} -S fetch(:puma_state) restart"
  25 + run "cd #{current_path} && #{fetch(:pumactl_cmd)} -S #{fetch(:puma_state)} restart"
26 26 end
27 27 end
28 28 end

0 comments on commit fa35be8

Please sign in to comment.
Something went wrong with that request. Please try again.