Files
MainSite/shell/Gunicorn.sh
2020-05-10 18:29:14 +04:00

10 lines
386 B
Bash
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/sh -e
echo "Подготовка..."
sh Prepare.sh
cd ..
echo "Запускаем сервер Gunicorn с Проигрывателем записей разговоров..."
gunicorn -w 4 --timeout 900 --keep-alive 900 --keyfile=/etc/letsencrypt/live/elforcer.udm.ru/privkey.pem --certfile=/etc/letsencrypt/live/elforcer.udm.ru/cert.pem --bind 0.0.0.0:8001 StartServer:app