Skip to content

Instantly share code, notes, and snippets.

@0x49D1
Created January 18, 2019 06:21
Show Gist options
  • Save 0x49D1/0d21c786a6a14af35f8afadab1413aeb to your computer and use it in GitHub Desktop.
Save 0x49D1/0d21c786a6a14af35f8afadab1413aeb to your computer and use it in GitHub Desktop.
Sample of running python flask service with gunicorn. Logs added.
gunicorn --bind 0.0.0.0:5001 --access-logfile /var/log/gunicorn/access.log --error-logfile /var/log/gunicorn/error.log --capture-output --reload wsgi:app &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment