Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
mod_WSGI-express.sh
#!/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
You can’t perform that action at this time.