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 #!/bin/bash
while ! nc -z "$NC_DOMAIN" 443; do # Wait 15s for domain to be reachable
sleep 5 sleep 15
done
sleep 10
if [ -n "$NEXTCLOUD_EXEC_COMMANDS" ]; then if [ -n "$NEXTCLOUD_EXEC_COMMANDS" ]; then
echo "#!/bin/bash" > /tmp/nextcloud-exec-commands echo "#!/bin/bash" > /tmp/nextcloud-exec-commands