Created
May 4, 2016 19:16
-
-
Save omedhabib/8f0e6f7d0103780d3f6f0f73108a86b2 to your computer and use it in GitHub Desktop.
mod_WSGI-express.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 | |
USER=www-data | |
GROUP=www-data | |
mod_wsgi-express start-server app.py --port 9808 --processes "$PROCESSOR_COUNT" --threads "$THREAD_COUNT" --user "$USER" --group "$GROUP" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment