diff options
Diffstat (limited to 'tw/services')
-rw-r--r-- | tw/services/paperless.scm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tw/services/paperless.scm b/tw/services/paperless.scm index b643ac99..e115ea57 100644 --- a/tw/services/paperless.scm +++ b/tw/services/paperless.scm @@ -48,6 +48,10 @@ PAPERLESS_OCR_LANGUAGES=eng deu fra por PAPERLESS_TIME_ZONE=Europe/Berlin PAPERLESS_UID=" (number->string %paperless-uid) " PAPERLESS_GID=" (number->string %paperless-uid) " +# OCRmyPDF normally refuses to process signed PDFs, but Paperless-ngx saves +# the original file in addition to the OCR'd one, so it's fine. Also, continue +# even if ghostscript can't parse the processed PDF file, for some reason. +PAPERLESS_OCR_USER_ARGS={\"invalidate_digital_signatures\": true, \"continue_on_soft_render_error\": true} ")))) (define (paperless-docker-service config) |