mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-10-20 01:38:13 +00:00
[es] Bump to 5.0.1
* explicitly configure default JVM heap size * /conf needed ownership fixed For #112
This commit is contained in:
1 parent
a0c1ed88d1
commit
f2955bcc2f
3 files changed
+18
-3
No files matched your search
+1
-1
@@ -125,7 +125,7 @@ echo "Starting Elasticsearch with the options $OPTS"
|
||||
CMD="$ES_HOME/bin/elasticsearch $OPTS"
|
||||
if [ `id -u` = 0 ]; then
|
||||
echo "Running as non-root..."
|
||||
chown -R $DEFAULT_ES_USER /data
|
||||
chown -R $DEFAULT_ES_USER /data /conf
|
||||
su -c "$CMD" $DEFAULT_ES_USER
|
||||
else
|
||||
$CMD
|
||||
|
||||
Reference in new issue
Block a user