A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
fix bug where docker-entrypoint.sh exits w/o notice
Sven Fischera752a4a91a68
diff --git a/scripts/docker-entrypoint.sh b/scripts/docker-entrypoint.shindex 2534012e8..df8df8fcd 100644--- a/scripts/docker-entrypoint.sh+++ b/scripts/docker-entrypoint.sh@@ -46,11 +46,10 @@ migrations() {# A simple lock file in case other containers use this startupLOCKFILE="/usr/src/paperless/data/db.sqlite3.migration"- set -o noclobber# check for and create lock file in one command- (> ${LOCKFILE}) &> /dev/null- if [ $? -eq 0 ]+ if (set -o noclobber; echo "$$" > "${LOCKFILE}") 2> /dev/nullthen+ trap 'rm -f "${LOCKFILE}"; exit $?' INT TERM EXITsudo -HEu paperless "/usr/src/paperless/src/manage.py" "migrate"rm ${LOCKFILE}fi