This commit is contained in:
f 2020-02-26 12:37:04 -03:00
parent f7a84fedcb
commit 71ce5ce209
No known key found for this signature in database
GPG key ID: 2AE5A13E321F953D
3 changed files with 1 additions and 13 deletions

View file

@ -1,6 +0,0 @@
# frozen_string_literal: true
module ApplicationCable
class Channel < ActionCable::Channel::Base
end
end

View file

@ -1,6 +0,0 @@
# frozen_string_literal: true
module ApplicationCable
class Connection < ActionCable::Connection::Base
end
end

View file

@ -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