Skip to content

Instantly share code, notes, and snippets.

@jbradach
Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jbradach/6ee5842e5e2543d59adb to your computer and use it in GitHub Desktop.
Save jbradach/6ee5842e5e2543d59adb to your computer and use it in GitHub Desktop.
Puma configuration file for Redmine
#!/usr/bin/env puma
# https://gist.github.com/jbradach/6ee5842e5e2543d59adb
# start puma with:
# RAILS_ENV=production bundle exec puma -C ./config/puma.rb
application_path = '/home/redmine/redmine'
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 "unix://#{application_path}/tmp/sockets/redmine.sock"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment