Skip to content

Instantly share code, notes, and snippets.

@ap-Codkelden
Created October 6, 2014 17:19
Show Gist options
  • Save ap-Codkelden/7ab5ca14af6bce7fede3 to your computer and use it in GitHub Desktop.
Save ap-Codkelden/7ab5ca14af6bce7fede3 to your computer and use it in GitHub Desktop.
<uwsgi>
<plugins>python3</plugins>
<!--<socket>/tmp/uwsgi.sock</socket>
<chmod-socket>664</chmod-socket> -->
<chdir>/home/rino/sites/centre/centre</chdir><!-- directory contains settings.py-->
<virtualenv>/home/rino/django</virtualenv><!-- top-level directory of virtualenv -->
<socket>127.0.0.1:3031</socket>
<processes>4</processes>
<pythonpath>/home/rino/sites/centre</pythonpath>
<pythonpath>/home/rino/django/lib/python3.4</pythonpath>
<wsgi-file>/home/rino/sites/centre/centre/wsgi.py</wsgi-file>
<pidfile>/tmp/centre-master.pid</pidfile>
<max-requests>5000</max-requests>
<harakiri>40</harakiri>
<master/>
<threads>2</threads>
<no-orphans/>
<die-on-term/>
<logto>/var/log/uwsgi/centre.log</logto>
</uwsgi>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment