From b94b72e8931e43b65ed2889a1dfd6bd459383853 Mon Sep 17 00:00:00 2001 From: szaimen Date: Thu, 25 Aug 2022 12:53:36 +0200 Subject: [PATCH] substitute 365d through inf Signed-off-by: szaimen --- Containers/nextcloud/activate-collabora.sh | 4 ++-- Containers/nextcloud/activate-fulltextsearch.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Containers/nextcloud/activate-collabora.sh b/Containers/nextcloud/activate-collabora.sh index 825f2949..0c10ea02 100644 --- a/Containers/nextcloud/activate-collabora.sh +++ b/Containers/nextcloud/activate-collabora.sh @@ -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 diff --git a/Containers/nextcloud/activate-fulltextsearch.sh b/Containers/nextcloud/activate-fulltextsearch.sh index 2d547ba3..a1bf3c06 100644 --- a/Containers/nextcloud/activate-fulltextsearch.sh +++ b/Containers/nextcloud/activate-fulltextsearch.sh @@ -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