fixing puma

This commit is contained in:
Torsten 2022-03-31 01:28:08 +03:00
parent a4de297554
commit 7104542224
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('public/assets')
set :shared_dirs, fetch(:shared_dirs, []).push('tmp/puma')
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/pids/server.pid" }
pidfile ENV.fetch("PIDFILE") { "tmp/puma/puma.pid" }
bind 'unix://tmp/sockets/puma.sock'
bind 'unix://tmp/puma/puma.sock'
# Specifies the number of `workers` to boot in clustered mode.
# Workers are forked web server processes. If using threads and workers together