From e8eeb9a389b3a3aa1212f7016790198b7b69d1bd Mon Sep 17 00:00:00 2001 From: El RIDO Date: Wed, 6 Oct 2021 05:10:37 +0200 Subject: [PATCH] prevent existing local config from being replaced --- docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index fa51564..22f587a 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -74,7 +74,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]; then rsync $rsync_options --delete --exclude-from=/upgrade.exclude /usr/src/friendica/ /var/www/html/ # Update docker-based config files, but never delete other config files - rsync $rsync_options --update /usr/src/friendica/config/ /var/www/html/config/ + rsync $rsync_options --update --exclude=/local.config.php /usr/src/friendica/config/ /var/www/html/config/ # In case there is no .htaccess, copy it from the default dist file if [ ! -f "/var/www/html/.htaccess" ]; then