Skip to content

Commit

Permalink
move lockfile to /var/www/html
Browse files Browse the repository at this point in the history
/var/lock is not likely shared across Nextcloud app server containers

Borrowed this idea from @remram44's patch in nextcloud#1905.

Signed-off-by: Adam Monsen <haircut@gmail.com>
  • Loading branch information
meonkeys committed Feb 8, 2023
1 parent 7c1728c commit 6e08126
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP

echo "Initializing finished"
fi
) 9> /var/lock/nextcloud-init-sync.lock
) 9> /var/www/html/nextcloud-init-sync.lock
fi

# Update htaccess after init if requested
Expand Down

0 comments on commit 6e08126

Please sign in to comment.