mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-04-24 08:59:26 +00:00
Fix: Changes bare metal webserver to use uvloop (#12626)
This commit is contained in:
@@ -23,7 +23,7 @@ ExecStart=/bin/sh -c '\
|
||||
[ -n "$PAPERLESS_WEBSERVER_WORKERS" ] && export GRANIAN_WORKERS=$PAPERLESS_WEBSERVER_WORKERS; \
|
||||
# URL path prefix: only set if PAPERLESS_FORCE_SCRIPT_NAME exists \
|
||||
[ -n "$PAPERLESS_FORCE_SCRIPT_NAME" ] && export GRANIAN_URL_PATH_PREFIX=$PAPERLESS_FORCE_SCRIPT_NAME; \
|
||||
exec granian --interface asginl --ws "paperless.asgi:application"'
|
||||
exec granian --interface asginl --ws --loop uvloop "paperless.asgi:application"'
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
Reference in New Issue
Block a user