12 lines
267 B
Bash
Executable File
12 lines
267 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
|
|
echo "Подготовка..."
|
|
sh Prepare.sh
|
|
cd ..
|
|
|
|
ServiceName=$(python3 Scripts.py --getconfig PROGNAME)
|
|
|
|
echo "Запускаем сервер Gunicorn " $ServiceName
|
|
gunicorn -w 4 --timeout 900 --keep-alive 900 --bind 0.0.0.0:8001 StartServer:app
|