#!/usr/bin/env puma

# start puma with:
# puma -C ./config/puma.rb

# application_path = '.'
railsenv = ENV['RAILS_ENV']
# directory application_path
environment railsenv
daemonize true
# pidfile "/srv/pids/puma-production.pid"
# state_path "#{application_path}/tmp/pids/puma-#{railsenv}.state"
stdout_redirect "/var/log/puma-#{railsenv}.stdout.log", "/var/log/puma-#{railsenv}.stderr.log", true
threads 0, 4
bind 'tcp://0.0.0.0:3000'
