From 1e3084dffa257b045bb9f3ef1be567b62f73f604 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bauer?= Date: Fri, 15 Sep 2017 09:24:27 +0200 Subject: [PATCH] Protect attachments on filesystem --- containers/zammad-railsserver/docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/containers/zammad-railsserver/docker-entrypoint.sh b/containers/zammad-railsserver/docker-entrypoint.sh index 3979e2a..a3c5940 100644 --- a/containers/zammad-railsserver/docker-entrypoint.sh +++ b/containers/zammad-railsserver/docker-entrypoint.sh @@ -10,7 +10,7 @@ if [ "$1" = 'zammad-railsserver' ]; then echo "railsserver can access postgresql server now..." - rsync -a --delete ${ZAMMAD_TMP_DIR}/ ${ZAMMAD_DIR} + rsync -a --delete --exclude 'storage/fs/*' ${ZAMMAD_TMP_DIR}/ ${ZAMMAD_DIR} cd ${ZAMMAD_DIR}