diff options
author | Thedro Neely <thedroneely@gmail.com> | 2020-03-25 16:49:40 -0400 |
---|---|---|
committer | Thedro Neely <thedroneely@gmail.com> | 2020-03-25 16:49:40 -0400 |
commit | 102e087abd8b6dee0dc0d3b6e407e0aacb30e0f2 (patch) | |
tree | 941c5d1043ad146abfb587c455b89214f47dd68d /roles/paperless/templates/pre-consumption.sh.j2 | |
parent | 62917fcf073c6160e7d42223143a18c63e6cd40e (diff) | |
download | playbooks-102e087abd8b6dee0dc0d3b6e407e0aacb30e0f2.tar.gz playbooks-102e087abd8b6dee0dc0d3b6e407e0aacb30e0f2.tar.bz2 playbooks-102e087abd8b6dee0dc0d3b6e407e0aacb30e0f2.zip |
roles/paperless/main: Add config files
Enable syncthing
Diffstat (limited to 'roles/paperless/templates/pre-consumption.sh.j2')
-rw-r--r-- | roles/paperless/templates/pre-consumption.sh.j2 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/paperless/templates/pre-consumption.sh.j2 b/roles/paperless/templates/pre-consumption.sh.j2 new file mode 100644 index 0000000..06e6fa9 --- /dev/null +++ b/roles/paperless/templates/pre-consumption.sh.j2 @@ -0,0 +1,3 @@ +#!/bin/sh +echo "OCRMYPDF is consuming" ${1}; +/opt/ocrmypdf/bin/ocrmypdf -l eng --output-type pdf "${1}" "${1}"; |