Skip to content
This repository was archived by the owner on Apr 12, 2022. It is now read-only.

Commit 74ca02a

Browse files
committed
Change flag name to more discoverable TAKE_FILE_OWNERSHIP
Addresses #125 (comment)
1 parent 9e3d43d commit 74ca02a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/elasticsearch/bin/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ fi
9696

9797
if [[ "$(id -u)" == "0" ]]; then
9898
# If requested and running as root, mutate the ownership of bind-mounts
99-
if [[ -n "$MUTATE_MOUNTS" ]]; then
99+
if [[ -n "$TAKE_FILE_OWNERSHIP" ]]; then
100100
chown -R 1000:0 /usr/share/elasticsearch/{data,logs}
101101
fi
102102
fi

0 commit comments

Comments
 (0)