summaryrefslogtreecommitdiffstats
path: root/2.4/docker-entrypoint.sh
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-08-14 18:03:49 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-08-14 18:03:49 +0200
commite373ffc2f8b9450615f9a0f4351e94b9baa402f8 (patch)
tree75b0226eff9b79b9ce7d221e2383513a2760d18a /2.4/docker-entrypoint.sh
parent407df523e5262280f0f5f5d5a3ebfd2a89207580 (diff)
downloadapache-e373ffc2f8b9450615f9a0f4351e94b9baa402f8.tar.gz
apache-e373ffc2f8b9450615f9a0f4351e94b9baa402f8.tar.bz2
apache-e373ffc2f8b9450615f9a0f4351e94b9baa402f8.tar.xz
apache-e373ffc2f8b9450615f9a0f4351e94b9baa402f8.zip
Move DavLock to temporary folder as well
Diffstat (limited to '2.4/docker-entrypoint.sh')
-rwxr-xr-x2.4/docker-entrypoint.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/2.4/docker-entrypoint.sh b/2.4/docker-entrypoint.sh
index 4430d20..ca3048d 100755
--- a/2.4/docker-entrypoint.sh
+++ b/2.4/docker-entrypoint.sh
@@ -100,7 +100,6 @@ fi
# Create directories for Dav data and lock database.
[ ! -d "/var/lib/dav/data" ] && mkdir -p "/var/lib/dav/data"
-[ ! -e "/var/lib/dav/DavLock" ] && touch "/var/lib/dav/DavLock"
-#chown -R www-data:www-data "/var/lib/dav"
+[ ! -e "/var/lib/dav/DavLock" ] && touch "/tmp/DavLock"
exec "$@"