diff --git a/config/puma.rb.production b/config/puma.rb.production new file mode 100644 index 00000000..04ae9ee4 --- /dev/null +++ b/config/puma.rb.production @@ -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