Puma for production

This commit is contained in:
Phyo
2017-06-15 12:30:13 +06:30
parent 5675f0e48b
commit 3eb1848fba

View 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