always run exec commands

Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
Simon L 2023-11-30 12:43:47 +01:00
parent 5dce03dee8
commit ecf7aeb92b

View file

@ -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