add fulltextsearch as option

Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
szaimen 2022-08-22 13:04:44 +02:00
parent 2ba61b8971
commit 8010030a5d
17 changed files with 155 additions and 3 deletions

View file

@ -0,0 +1,9 @@
#!/bin/bash
if [ "$FULLTEXTSEARCH_ENABLED" != yes ]; then
# Basically sleep for forever if fulltextsearch is not enabled
sleep 365d
fi
echo "Activating fulltextsearch..."
php /var/www/html/occ fulltextsearch:live -q
sleep 365d