Skip to content

Commit 67a7e0a

Browse files
committed
Set the bind to the shared path
1 parent eeb0559 commit 67a7e0a

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

config/deploy.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@
1616
set :bundle_without, %w{development test deployment}.join(' ')
1717
set :bundle_gemfile, -> { release_path.join('Gemfile') }
1818

19-
set :puma_bind, "unix:/tmp/rails-contributors.sock"
19+
set :puma_bind, "unix://#{shared_path}/tmp/sockets/puma.sock"
2020
set :puma_systemctl_user, :system

config/puma/production.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
workers 2
1212
threads 3,3
1313

14-
bind 'unix:/tmp/rails-contributors.sock'
15-
1614
restart_command 'bundle exec puma'
1715

1816
prune_bundler

0 commit comments

Comments
 (0)