Skip to content
Snippets Groups Projects
start.sh 192 B
Newer Older
#!/bin/bash

echo "Step 01. starting nginx"

/etc/init.d/nginx restart

echo "Step 02. starting gunicorn"

m431m's avatar
m431m committed
gunicorn -w 3 -b 0.0.0.0:5000 config.wsgi:application --timeout 300 --max-requests 1