Files
shynet/shynet/ssl.webserver.sh
2020-05-04 14:20:34 -04:00

10 lines
247 B
Bash
Executable File

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