mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 06:26:57 +00:00
Merge pull request #3844 from nextcloud/enh/noid/exec-commands
This commit is contained in:
commit
174438d4c2
1 changed files with 2 additions and 4 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue