more puma deploy

This commit is contained in:
Torsten 2022-03-31 02:11:07 +03:00
parent bac0d545b0
commit 839f1c1d94
2 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@ set :user, 'feenix' # Username in the server to SSH to.
# Shared dirs and files will be symlinked into the app-folder by the 'deploy:link_shared_paths' step.
# Some plugins already add folders to shared_dirs like `mina/rails` add `public/assets`, `vendor/bundle` and many more
# run `mina -d` to see all folders and files already included in `shared_dirs` and `shared_files`
set :shared_dirs, fetch(:shared_dirs, []).push('tmp/puma')
set :shared_dirs, fetch(:shared_dirs, []).push('tmp/pids' , 'tmp/sockets')
set :shared_files, fetch(:shared_files, []).push('config/master.key')
# This task is the environment that is loaded for all remote run commands, such as

View File

@ -22,9 +22,9 @@ port ENV.fetch("PORT") { 3000 }
environment ENV.fetch("RAILS_ENV") { "development" }
# Specifies the `pidfile` that Puma will use.
pidfile ENV.fetch("PIDFILE") { "tmp/puma/puma.pid" }
pidfile ENV.fetch("PIDFILE") { "tmp/pids/puma.pid" }
bind 'unix://tmp/puma/puma.sock'
bind 'unix://tmp/sockets/puma.sock'
# Specifies the number of `workers` to boot in clustered mode.
# Workers are forked web server processes. If using threads and workers together