This commit is contained in:
Gogs
2019-12-09 23:57:26 +04:00
parent cc4c4b90fb
commit 55df7321f8
150 changed files with 13473 additions and 0 deletions

7
Gunicorn.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/sh -e
cd /home/elforcer/FlaskSite/MainSite/
echo "Подготовка..."
sh Prepare.sh
echo "Запускаем сервер Gunicorn с MainSite..."
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:8009 StartServer:app