From fc326f9af91df3c45f581794b4775dd1859ce864 Mon Sep 17 00:00:00 2001 From: David Straub Date: Sun, 28 Jul 2024 22:00:28 +0200 Subject: [PATCH] Update docker entrypoint --- docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 6a088ac3..2ec9d3fd 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -14,7 +14,7 @@ then fi # Create search index if not exists -if [ -z "$(ls -A /app/indexdir)" ] +if [ -z "$(ls -A /app/indexdir/*.db)" ] then python3 -m gramps_webapi --config /app/config/config.cfg search index-full fi