diff --git a/config/deploy.rb b/config/deploy.rb index 3914021..c58a47b 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -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 diff --git a/config/puma.rb b/config/puma.rb index d89538c..998bd39 100644 --- a/config/puma.rb +++ b/config/puma.rb @@ -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