mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-09-26 06:07:15 +02:00
paperless-ngx: reindex Tantivy search index on webserver start (#16395)
This commit is contained in:
committed by
GitHub
parent
962dbbb569
commit
8c1d4f33ff
@@ -151,6 +151,7 @@ Requires=redis.service
|
||||
|
||||
[Service]
|
||||
WorkingDirectory=/opt/paperless/src
|
||||
ExecStartPre=uv run -- python manage.py document_index reindex --if-needed --no-progress-bar
|
||||
ExecStart=uv run -- granian --interface asginl --ws --loop uvloop "paperless.asgi:application"
|
||||
Environment=GRANIAN_HOST=::
|
||||
Environment=GRANIAN_PORT=8000
|
||||
|
||||
Reference in New Issue
Block a user