Created
May 4, 2016 19:17
-
-
Save omedhabib/0e61685d14cd019622c02817034f26e3 to your computer and use it in GitHub Desktop.
uWSGI.sh
This file contains 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 bash | |
PROCESSOR_COUNT=$(nproc) | |
THREAD_COUNT=2 | |
uwsgi --http :9808 --plugin python2 --wsgi-file app.py --processes "$PROCESSOR_COUNT" --threads "$THREAD_COUNT" --disable-logging |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment