Skip to content

Instantly share code, notes, and snippets.

@mcr
Created January 27, 2016 14:52
Show Gist options
  • Save mcr/8ee66294c6f48bb98044 to your computer and use it in GitHub Desktop.
Save mcr/8ee66294c6f48bb98044 to your computer and use it in GitHub Desktop.
mcr@roujump:~$ cat /etc/uwsgi/apps-available/beaumont.yml
# plugins: rack
uwsgi:
rvm-path: /usr/local/rvm
uid: beaumont
socket: 10.10.32.12:3031
chdir: /sg1/web/beaumont/beaumont/current
rack: /sg1/web/beaumont/beaumont/current/config.ru
post-buffering: 4096
buffer-size: 25000
async: 10
master: true
processes: 2
http-modifier1: 0
#socket-modifier1: 0
socket-modifier1: 7
rbrequire: rubygems
rbrequire: bundler/setup
daemonize: /sg1/web/beaumont/beaumont/shared/log/uwsgi.log
pidfile: /sg1/web/beaumont/beaumont/shared/pid/uwsgi.pid
env: RAILS_ENV=production
started at present with:
rvmsudo uwsgi /etc/uwsgi/apps-available/beaumont.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment