start-gunicorn-and-nginx.sh 190 B

1234567
  1. #!/usr/bin/env bash
  2. echo "Starting gunicorn on port 8080 on separate process"
  3. gunicorn --workers=1 --bind=unix:/app/ggsh.sock app:app &
  4. echo "Starting nginx daemon"
  5. nginx -g "daemon off;"