back to puma

This commit is contained in:
2022-03-30 21:09:53 +03:00
parent 81344109c4
commit c373104393
3 changed files with 11 additions and 7 deletions

View File

@ -1,6 +1,7 @@
require 'mina/rails'
require 'mina/git'
require 'mina/rbenv' # for rbenv support. (https://rbenv.org)
require 'mina/puma'
# Basic settings:
# domain - The hostname to SSH to.
@ -58,8 +59,7 @@ task :deploy do
on :launch do
in_path(fetch(:current_path)) do
command %{mkdir -p tmp/}
command %{touch tmp/restart.txt}
invoke :'puma:phased_restart'
end
end
end