From ecf7aeb92b96c31cfb1874244b86eb193f09ddf5 Mon Sep 17 00:00:00 2001 From: Simon L Date: Thu, 30 Nov 2023 12:43:47 +0100 Subject: [PATCH] always run exec commands Signed-off-by: Simon L --- Containers/nextcloud/run-exec-commands.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Containers/nextcloud/run-exec-commands.sh b/Containers/nextcloud/run-exec-commands.sh index a2a6c84a..ab3abab7 100644 --- a/Containers/nextcloud/run-exec-commands.sh +++ b/Containers/nextcloud/run-exec-commands.sh @@ -1,9 +1,7 @@ #!/bin/bash -while ! nc -z "$NC_DOMAIN" 443; do - sleep 5 -done -sleep 10 +# Wait 15s for domain to be reachable +sleep 15 if [ -n "$NEXTCLOUD_EXEC_COMMANDS" ]; then echo "#!/bin/bash" > /tmp/nextcloud-exec-commands