diff --git a/shell/Gunicorn.sh b/shell/Gunicorn.sh index 984f5f0..2415bca 100755 --- a/shell/Gunicorn.sh +++ b/shell/Gunicorn.sh @@ -5,7 +5,7 @@ echo "Подготовка..." sh Prepare.sh cd .. -ServiceName=$(python3 Scripts.py --getconfig PROGNAME) +ServiceName=$(env/bin/python3.10 Scripts.py --getconfig PROGNAME) echo "Запускаем сервер Gunicorn " $ServiceName -gunicorn -w 4 --timeout 900 --keep-alive 900 --bind 0.0.0.0:8009 StartServer:app +env/bin/gunicorn -w 4 --timeout 900 --keep-alive 900 --bind 0.0.0.0:8009 StartServer:app