mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
Merge branch 'master' of github.com:puma/puma
This commit is contained in:
commit
b831a125b5
1 changed files with 2 additions and 2 deletions
|
@ -17,12 +17,12 @@ Capistrano::Configuration.instance.load do
|
|||
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue