10 lines
256 B
Bash
Executable File
10 lines
256 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Start Gunicorn processes
|
|
echo Launching Shynet web server...
|
|
exec gunicorn shynet.wsgi:application \
|
|
--bind 0.0.0.0:${PORT:-8080} \
|
|
--workers ${NUM_WORKERS:-1} \
|
|
--timeout 100 \
|
|
--certfile=cert.pem \
|
|
--keyfile=privkey.pem |