diff options
author | GitHub Workflow <workflow@github.com> | 2022-06-07 15:26:59 +0300 |
---|---|---|
committer | GitHub Workflow <workflow@github.com> | 2022-06-07 15:26:59 +0300 |
commit | 00d88733d0d93d0abc628c7b18bc589181c34cbb (patch) | |
tree | ea5b2df2dc69e576e4b254062abc3e359ebf489f | |
parent | ec3f7e55c479f04260987a901423ed858de90ddd (diff) |
Runs update.sh
-rwxr-xr-x | 22/apache/entrypoint.sh | 5 | ||||
-rwxr-xr-x | 22/fpm-alpine/entrypoint.sh | 5 | ||||
-rwxr-xr-x | 22/fpm/entrypoint.sh | 5 | ||||
-rwxr-xr-x | 23/apache/entrypoint.sh | 5 | ||||
-rwxr-xr-x | 23/fpm-alpine/entrypoint.sh | 5 | ||||
-rwxr-xr-x | 23/fpm/entrypoint.sh | 5 | ||||
-rwxr-xr-x | 24/apache/entrypoint.sh | 5 | ||||
-rwxr-xr-x | 24/fpm-alpine/entrypoint.sh | 5 | ||||
-rwxr-xr-x | 24/fpm/entrypoint.sh | 5 |
9 files changed, 27 insertions, 18 deletions
diff --git a/22/apache/entrypoint.sh b/22/apache/entrypoint.sh index 6c8f35f..309524f 100755 --- a/22/apache/entrypoint.sh +++ b/22/apache/entrypoint.sh @@ -103,12 +103,13 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP fi # If another process is syncing the html folder, wait for - # it to be done, then escape initalization + # it to be done, then escape initalization. + # You need to define the NEXTCLOUD_INIT_LOCK environment variable lock=/var/www/html/nextcloud-init-sync.lock count=0 limit=10 - if [ -f "$lock" ]; then + if [ -f "$lock" ] && [ -n "${NEXTCLOUD_INIT_LOCK+x}" ]; then until [ ! -f "$lock" ] || [ "$count" -gt "$limit" ] do count=$((count+1)) diff --git a/22/fpm-alpine/entrypoint.sh b/22/fpm-alpine/entrypoint.sh index 6c8f35f..309524f 100755 --- a/22/fpm-alpine/entrypoint.sh +++ b/22/fpm-alpine/entrypoint.sh @@ -103,12 +103,13 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP fi # If another process is syncing the html folder, wait for - # it to be done, then escape initalization + # it to be done, then escape initalization. + # You need to define the NEXTCLOUD_INIT_LOCK environment variable lock=/var/www/html/nextcloud-init-sync.lock count=0 limit=10 - if [ -f "$lock" ]; then + if [ -f "$lock" ] && [ -n "${NEXTCLOUD_INIT_LOCK+x}" ]; then until [ ! -f "$lock" ] || [ "$count" -gt "$limit" ] do count=$((count+1)) diff --git a/22/fpm/entrypoint.sh b/22/fpm/entrypoint.sh index 6c8f35f..309524f 100755 --- a/22/fpm/entrypoint.sh +++ b/22/fpm/entrypoint.sh @@ -103,12 +103,13 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP fi # If another process is syncing the html folder, wait for - # it to be done, then escape initalization + # it to be done, then escape initalization. + # You need to define the NEXTCLOUD_INIT_LOCK environment variable lock=/var/www/html/nextcloud-init-sync.lock count=0 limit=10 - if [ -f "$lock" ]; then + if [ -f "$lock" ] && [ -n "${NEXTCLOUD_INIT_LOCK+x}" ]; then until [ ! -f "$lock" ] || [ "$count" -gt "$limit" ] do count=$((count+1)) diff --git a/23/apache/entrypoint.sh b/23/apache/entrypoint.sh index 6c8f35f..309524f 100755 --- a/23/apache/entrypoint.sh +++ b/23/apache/entrypoint.sh @@ -103,12 +103,13 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP fi # If another process is syncing the html folder, wait for - # it to be done, then escape initalization + # it to be done, then escape initalization. + # You need to define the NEXTCLOUD_INIT_LOCK environment variable lock=/var/www/html/nextcloud-init-sync.lock count=0 limit=10 - if [ -f "$lock" ]; then + if [ -f "$lock" ] && [ -n "${NEXTCLOUD_INIT_LOCK+x}" ]; then until [ ! -f "$lock" ] || [ "$count" -gt "$limit" ] do count=$((count+1)) diff --git a/23/fpm-alpine/entrypoint.sh b/23/fpm-alpine/entrypoint.sh index 6c8f35f..309524f 100755 --- a/23/fpm-alpine/entrypoint.sh +++ b/23/fpm-alpine/entrypoint.sh @@ -103,12 +103,13 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP fi # If another process is syncing the html folder, wait for - # it to be done, then escape initalization + # it to be done, then escape initalization. + # You need to define the NEXTCLOUD_INIT_LOCK environment variable lock=/var/www/html/nextcloud-init-sync.lock count=0 limit=10 - if [ -f "$lock" ]; then + if [ -f "$lock" ] && [ -n "${NEXTCLOUD_INIT_LOCK+x}" ]; then until [ ! -f "$lock" ] || [ "$count" -gt "$limit" ] do count=$((count+1)) diff --git a/23/fpm/entrypoint.sh b/23/fpm/entrypoint.sh index 6c8f35f..309524f 100755 --- a/23/fpm/entrypoint.sh +++ b/23/fpm/entrypoint.sh @@ -103,12 +103,13 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP fi # If another process is syncing the html folder, wait for - # it to be done, then escape initalization + # it to be done, then escape initalization. + # You need to define the NEXTCLOUD_INIT_LOCK environment variable lock=/var/www/html/nextcloud-init-sync.lock count=0 limit=10 - if [ -f "$lock" ]; then + if [ -f "$lock" ] && [ -n "${NEXTCLOUD_INIT_LOCK+x}" ]; then until [ ! -f "$lock" ] || [ "$count" -gt "$limit" ] do count=$((count+1)) diff --git a/24/apache/entrypoint.sh b/24/apache/entrypoint.sh index 6c8f35f..309524f 100755 --- a/24/apache/entrypoint.sh +++ b/24/apache/entrypoint.sh @@ -103,12 +103,13 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP fi # If another process is syncing the html folder, wait for - # it to be done, then escape initalization + # it to be done, then escape initalization. + # You need to define the NEXTCLOUD_INIT_LOCK environment variable lock=/var/www/html/nextcloud-init-sync.lock count=0 limit=10 - if [ -f "$lock" ]; then + if [ -f "$lock" ] && [ -n "${NEXTCLOUD_INIT_LOCK+x}" ]; then until [ ! -f "$lock" ] || [ "$count" -gt "$limit" ] do count=$((count+1)) diff --git a/24/fpm-alpine/entrypoint.sh b/24/fpm-alpine/entrypoint.sh index 6c8f35f..309524f 100755 --- a/24/fpm-alpine/entrypoint.sh +++ b/24/fpm-alpine/entrypoint.sh @@ -103,12 +103,13 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP fi # If another process is syncing the html folder, wait for - # it to be done, then escape initalization + # it to be done, then escape initalization. + # You need to define the NEXTCLOUD_INIT_LOCK environment variable lock=/var/www/html/nextcloud-init-sync.lock count=0 limit=10 - if [ -f "$lock" ]; then + if [ -f "$lock" ] && [ -n "${NEXTCLOUD_INIT_LOCK+x}" ]; then until [ ! -f "$lock" ] || [ "$count" -gt "$limit" ] do count=$((count+1)) diff --git a/24/fpm/entrypoint.sh b/24/fpm/entrypoint.sh index 6c8f35f..309524f 100755 --- a/24/fpm/entrypoint.sh +++ b/24/fpm/entrypoint.sh @@ -103,12 +103,13 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP fi # If another process is syncing the html folder, wait for - # it to be done, then escape initalization + # it to be done, then escape initalization. + # You need to define the NEXTCLOUD_INIT_LOCK environment variable lock=/var/www/html/nextcloud-init-sync.lock count=0 limit=10 - if [ -f "$lock" ]; then + if [ -f "$lock" ] && [ -n "${NEXTCLOUD_INIT_LOCK+x}" ]; then until [ ! -f "$lock" ] || [ "$count" -gt "$limit" ] do count=$((count+1)) |