depot/nix/pkgs/baserow/backend/gunicorn.py

7 lines
238 B
Python
Raw Permalink Normal View History

2021-12-21 05:48:40 +00:00
#!/usr/bin/python3
import sys
from gunicorn.app.wsgiapp import run
if __name__ == '__main__':
sys.argv[:] = [sys.argv[0]] + ["-k", "uvicorn.workers.UvicornWorker", "baserow.config.asgi:application"] + sys.argv[1:]
sys.exit(run())