deploy
This commit is contained in:
parent
f7a84fedcb
commit
71ce5ce209
3 changed files with 1 additions and 13 deletions
|
@ -1,6 +0,0 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module ApplicationCable
|
||||
class Channel < ActionCable::Channel::Base
|
||||
end
|
||||
end
|
|
@ -1,6 +0,0 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module ApplicationCable
|
||||
class Connection < ActionCable::Connection::Base
|
||||
end
|
||||
end
|
|
@ -15,7 +15,7 @@ namespace :pumx do
|
|||
on roles(:web) do
|
||||
within current_path do
|
||||
pid = "#{current_path}/tmp/pids/puma.pid"
|
||||
execute "test -f '#{pid}' && cat '#{pid}' | xargs kill"
|
||||
execute "test -f '#{pid}' && cat '#{pid}' | xargs kill ; :"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue