mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-11-09 03:46:12 -06: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user