Skip to content

Commit

Permalink
preload the gunicorn app
Browse files Browse the repository at this point in the history
  • Loading branch information
dstufft committed Jan 15, 2015
1 parent ef2fde0 commit a51df91
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions salt/moin/configs/gunicorn.conf.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ CONFIG = {
"--bind", "unix:/var/run/gunicorn/moin.sock",
"--workers", "{{ (grains.num_cpus * 2) + 1 }}",
"--pythonpath", "/usr/share/moin/server/",
"--preload",
"moin_wsgi",
],
}
1 change: 0 additions & 1 deletion salt/moin/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ gunicorn:

service.running:
- enable: True
- reload: True
- sig: 'gunicorn: master \[moin\.conf]'
- require:
- pkg: gunicorn
Expand Down

0 comments on commit a51df91

Please sign in to comment.