Puma for production
This commit is contained in:
9
config/puma.rb.production
Normal file
9
config/puma.rb.production
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
application_path = '/home/superuser/Application/production/sxrestaurant'
|
||||||
|
directory application_path
|
||||||
|
environment 'production'
|
||||||
|
daemonize true
|
||||||
|
pidfile "#{application_path}/tmp/pids/puma.pid"
|
||||||
|
state_path "#{application_path}/tmp/pids/puma.state"
|
||||||
|
stdout_redirect "#{application_path}/log/puma.stdout.log", "#{application_path}/log/puma.stderr.log"
|
||||||
|
bind 'tcp://0.0.0.0:9292'
|
||||||
|
workers 2
|
||||||
Reference in New Issue
Block a user