From b7f191ff725360cf98c60ba3835968ebf4437069 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sun, 24 Oct 2021 22:51:06 +0200 Subject: [PATCH] Update run.sh --- webtrees/rootfs/run.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/webtrees/rootfs/run.sh b/webtrees/rootfs/run.sh index 654b39891..dfffd1599 100644 --- a/webtrees/rootfs/run.sh +++ b/webtrees/rootfs/run.sh @@ -61,6 +61,8 @@ OLD_WEBTREES_HOME=$WEBTREES_HOME export WEBTREES_HOME="/share/webtrees" cp -rn /var/www/webtrees "$(dirname "$OLD_WEBTREES_HOME")" &>/dev/null || true mkdir -p $WEBTREES_HOME + +echo "... update permissions" chown -R www-data:www-data $OLD_WEBTREES_HOME chown -R www-data:www-data $WEBTREES_HOME @@ -84,6 +86,7 @@ if [ -f $WEBTREES_HOME/data/config.ini.php ]; then fi # Execute main script +echo "/docker-entrypoint.sh" cd / ./docker-entrypoint.sh >/dev/null