diff --git a/gunicorn_start b/gunicorn_start deleted file mode 100755 index f80ad52..0000000 --- a/gunicorn_start +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/bash - -NAME=upfast -# USER=upfast -# GROUP=upfast -WORKERS=3 -WORKER_CLASS=uvicorn.workers.UvicornWorker -VENV=venv/bin/activate -BIND=unix:/tmp/upfast.sock -LOG_LEVEL=error - -source $VENV - -exec gunicorn main:app \ - --name $NAME \ - --workers $WORKERS \ - --worker-class $WORKER_CLASS \ - --bind=$BIND \ - --log-level=$LOG_LEVEL \ - --log-file=- \ - --forwarded-allow-ips='*' - # --user=$USER \ - # --group=$GROUP \