changed to gunicorn

This commit is contained in:
Dmitry Afanasyev 2022-08-16 12:42:52 +03:00
parent ea7933793c
commit a53153f1ef

View File

@ -4,4 +4,4 @@
echo "starting the bot" echo "starting the bot"
cd /opt/mosgortrans \ cd /opt/mosgortrans \
&& source /home/balsh/.cache/pypoetry/virtualenvs/mosgortrans-3eZxMcY3-py3.10/bin/activate \ && source /home/balsh/.cache/pypoetry/virtualenvs/mosgortrans-3eZxMcY3-py3.10/bin/activate \
&& gunicorn app.main:create_app --bind localhost:8084 --reload --worker-class aiohttp.GunicornWebWorker && gunicorn app.main:create_app --bind prod-server.lan:8084 --reload --worker-class aiohttp.GunicornWebWorker