Advertisement
E-werd

start.sh (throat, gunicorn)

Jun 6th, 2020
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. #!/bin/bash
  2. cd /home/app
  3. export HOME="/home/app"
  4. export USER="app"
  5. export PATH="/home/app/.pyenv/bin:$PATH"
  6. eval "$(pyenv init -)"
  7. eval "$(pyenv virtualenv-init -)"
  8. cd /home/app/throat
  9. gunicorn -w 2 wsgi:app --error-logfile error.log --worker-class eventlet --bind 127.0.0.1:8001
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement