This commit is contained in:
Gogs
2020-05-10 18:29:14 +04:00
parent 7f4e11b073
commit 6a2cd57e6e
17 changed files with 297 additions and 60 deletions

9
shell/Gunicorn.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/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