Last active
August 29, 2015 14:05
-
-
Save jbradach/6ee5842e5e2543d59adb to your computer and use it in GitHub Desktop.
Puma configuration file for Redmine
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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