mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 14:36:52 +00:00
substitute 365d through inf
Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
parent
8010030a5d
commit
b94b72e893
2 changed files with 4 additions and 4 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
if [ "$COLLABORA_ENABLED" != yes ]; then
|
if [ "$COLLABORA_ENABLED" != yes ]; then
|
||||||
# Basically sleep for forever if collabora is not enabled
|
# Basically sleep for forever if collabora is not enabled
|
||||||
sleep 365d
|
sleep inf
|
||||||
fi
|
fi
|
||||||
while ! nc -z "$NC_DOMAIN" 443; do
|
while ! nc -z "$NC_DOMAIN" 443; do
|
||||||
sleep 5
|
sleep 5
|
||||||
|
|
@ -10,4 +10,4 @@ done
|
||||||
sleep 10
|
sleep 10
|
||||||
echo "Activating collabora config..."
|
echo "Activating collabora config..."
|
||||||
php /var/www/html/occ richdocuments:activate-config
|
php /var/www/html/occ richdocuments:activate-config
|
||||||
sleep 365d
|
sleep inf
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,8 @@
|
||||||
|
|
||||||
if [ "$FULLTEXTSEARCH_ENABLED" != yes ]; then
|
if [ "$FULLTEXTSEARCH_ENABLED" != yes ]; then
|
||||||
# Basically sleep for forever if fulltextsearch is not enabled
|
# Basically sleep for forever if fulltextsearch is not enabled
|
||||||
sleep 365d
|
sleep inf
|
||||||
fi
|
fi
|
||||||
echo "Activating fulltextsearch..."
|
echo "Activating fulltextsearch..."
|
||||||
php /var/www/html/occ fulltextsearch:live -q
|
php /var/www/html/occ fulltextsearch:live -q
|
||||||
sleep 365d
|
sleep inf
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue