From a4a68833a1b8ef70ef25adb3bd8a594dffe760dd Mon Sep 17 00:00:00 2001 From: Gogs Date: Sun, 10 May 2020 18:55:36 +0400 Subject: [PATCH] Updates --- shell/0-CheckSystem.sh | 1 + shell/Gunicorn.sh | 2 +- shell/Prepare.sh | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/shell/0-CheckSystem.sh b/shell/0-CheckSystem.sh index efdea29..bed094f 100755 --- a/shell/0-CheckSystem.sh +++ b/shell/0-CheckSystem.sh @@ -169,3 +169,4 @@ CheckPip "config" CheckPip "dnspython" CheckPip "python-whois" CheckPip "websockets" +CheckPip "Flask-Cors" diff --git a/shell/Gunicorn.sh b/shell/Gunicorn.sh index 3e49159..0efa44a 100755 --- a/shell/Gunicorn.sh +++ b/shell/Gunicorn.sh @@ -6,4 +6,4 @@ 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 +gunicorn -w 4 --timeout 900 --keep-alive 900 --bind 0.0.0.0:8001 StartServer:app diff --git a/shell/Prepare.sh b/shell/Prepare.sh index 9846796..14d3160 100755 --- a/shell/Prepare.sh +++ b/shell/Prepare.sh @@ -24,4 +24,4 @@ if [ ! -d "$DIR" ]; then fi #Копируем настройки -rsync -ah --delete db/Settings $DIR +#rsync -ah --delete db/Settings $DIR