shynet/shynet/ssl.webserver.sh
2020-05-28 21:40:43 +00:00

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