Skip to content

Commit 5e3b718

Browse files
committed
remove daemonize for new puma version
1 parent cd0020a commit 5e3b718

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

config/puma/production.rb

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1+
# frozen_string_literal:true
12
#
3+
24
directory '/data'
35
bind 'tcp://0.0.0.0:3000'
46
pidfile '/tmp/puma.pid'
@@ -7,9 +9,5 @@
79
preload_app!
810
environment 'production'
911

10-
daemonize false
11-
# Allow for `touch tmp/restart.txt` to force puma to restart the app
12-
#plugin :tmp_restart
13-
1412
# Activate the puma control application, mapping location in the nginx config
1513
activate_control_app 'unix:///tmp/pumactl.sock'

config/puma/staging.rb

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1+
# frozen_string_literal:true
12
#
3+
24
directory '/data'
35
bind 'tcp://0.0.0.0:3000'
46
pidfile '/tmp/puma.pid'
@@ -7,9 +9,5 @@
79
preload_app!
810
environment 'staging'
911

10-
daemonize false
11-
# Allow for `touch tmp/restart.txt` to force puma to restart the app
12-
#plugin :tmp_restart
13-
1412
# Activate the puma control application, mapping location in the nginx config
1513
activate_control_app 'unix:///tmp/pumactl.sock'

0 commit comments

Comments
 (0)