paperless_fix_granian_env (#3790)
Some checks failed
Create Changelog Pull Request / update-changelog-pull-request (push) Has been cancelled
Auto Update .app-files / update-app-files (push) Has been cancelled
Frontend CI/CD / build (push) Has been cancelled
Frontend CI/CD / deploy (push) Has been cancelled
Crawl Versions from newreleases.io / crawl-versions (push) Has been cancelled
Build and Publish Docker Image / build (push) Has been cancelled
Create Daily Release / create-daily-release (push) Has been cancelled

This commit is contained in:
CanbiZ
2025-04-09 19:31:27 +02:00
committed by GitHub
parent 30fbcb5ba8
commit 607ab48f79

View File

@@ -209,7 +209,10 @@ Requires=redis.service
[Service]
WorkingDirectory=/opt/paperless/src
ExecStart=python3 webserver.py
ExecStart=granian --interface asginl --ws "paperless.asgi:application"
Environment=GRANIAN_HOST=::
Environment=GRANIAN_PORT=8000
Environment=GRANIAN_WORKERS=1
[Install]
WantedBy=multi-user.target