postconsume-dump

command
v0.0.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 18, 2024 License: BSD-3-Clause Imports: 4 Imported by: 0

README

Post-consumption hook logging debug information

This example is a post-consumption hook writing debug information to its output.

Paperless always appends a few arguments while all relevant information comes from environment variables. A wrapper script is the easiest way to ignore the additional arguments:

#!/bin/bash

set -e -u -o pipefail

exec /usr/local/bin/postconsume-dump

Then configure Paperless to use the post-consumption hook:

PAPERLESS_POST_CONSUME_SCRIPT=/usr/local/hooks/postconsume

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL