mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-08 15:55:31 +01:00
add pre-consume hook
a script hook can be defined in /etc/paperless.conf as PAPERLESS_PRE_CONSUME_SCRIPT
This commit is contained in:
parent
7b88cea07b
commit
c728b1dd21
3 changed files with 17 additions and 3 deletions
|
|
@ -230,6 +230,7 @@ SHARED_SECRET = os.getenv("PAPERLESS_SHARED_SECRET", "")
|
|||
|
||||
# Trigger a script after every successful document consumption?
|
||||
POST_CONSUME_SCRIPT = os.getenv("PAPERLESS_POST_CONSUME_SCRIPT")
|
||||
PRE_CONSUME_SCRIPT = os.getenv("PAPERLESS_PRE_CONSUME_SCRIPT")
|
||||
|
||||
#
|
||||
# TODO: Remove after 0.2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue