From 224546c12ff9f0251806c91927464eaace05e854 Mon Sep 17 00:00:00 2001 From: Disassembler Date: Sat, 7 Oct 2017 13:25:30 +0200 Subject: [PATCH] Enable SeedDMS support for fulltext indexing and PDF previews --- 10-seeddms.sh | 3 +-- seeddms/srv/seeddms/www/conf/settings.xml | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/10-seeddms.sh b/10-seeddms.sh index d12fb2c..19a0b24 100755 --- a/10-seeddms.sh +++ b/10-seeddms.sh @@ -28,6 +28,7 @@ export SEEDDMS_ADMIN_EMAIL=admin@example.com envsubst <${SOURCE_DIR}/seeddms/tmp/seeddms-adminpwd.sql >/tmp/seeddms-adminpwd.sql psql -f /tmp/seeddms-adminpwd.sql seeddms seeddms unset PGPASSWORD +rm -f /tmp/seeddms-adminpwd.sql # Create OS user adduser --system --group --home /srv/seeddms --shell /bin/false seeddms @@ -44,5 +45,3 @@ systemctl restart nginx # Add portal application definition ${SOURCE_DIR}/basic/portal-app-manager.py seeddms "/seeddms/" "${SEEDDMS_ADMIN_USER}" "${SEEDDMS_ADMIN_PWD}" - -# TODO: Test Lucene fulltext search diff --git a/seeddms/srv/seeddms/www/conf/settings.xml b/seeddms/srv/seeddms/www/conf/settings.xml index a66c01c..66c4e15 100644 --- a/seeddms/srv/seeddms/www/conf/settings.xml +++ b/seeddms/srv/seeddms/www/conf/settings.xml @@ -1,8 +1,8 @@ - - + +