substitute 365d through inf

Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
szaimen 2022-08-25 12:53:36 +02:00
parent 8010030a5d
commit b94b72e893
2 changed files with 4 additions and 4 deletions

View file

@ -2,7 +2,7 @@
if [ "$COLLABORA_ENABLED" != yes ]; then
# Basically sleep for forever if collabora is not enabled
sleep 365d
sleep inf
fi
while ! nc -z "$NC_DOMAIN" 443; do
sleep 5
@ -10,4 +10,4 @@ done
sleep 10
echo "Activating collabora config..."
php /var/www/html/occ richdocuments:activate-config
sleep 365d
sleep inf

View file

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