2016-05-10 15:07:04 -04:00
|
|
|
#!/bin/bash
|
2015-07-13 12:31:34 +02:00
|
|
|
|
|
|
|
# Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
|
|
# or more contributor license agreements. Licensed under the Elastic License;
|
|
|
|
# you may not use this file except in compliance with the Elastic License.
|
|
|
|
|
2017-07-21 09:39:46 +09:00
|
|
|
source "`dirname "$0"`"/../elasticsearch-env
|
2015-07-13 12:31:34 +02:00
|
|
|
|
2017-07-21 09:39:46 +09:00
|
|
|
source "`dirname "$0"`"/x-pack-env
|
2015-09-25 23:55:54 -04:00
|
|
|
|
2017-07-31 23:13:22 +09:00
|
|
|
exec \
|
|
|
|
"$JAVA" \
|
2017-07-28 12:15:37 +09:00
|
|
|
$ES_JAVA_OPTS \
|
|
|
|
-Des.path.home="$ES_HOME" \
|
2017-08-15 06:19:39 +09:00
|
|
|
-Des.path.conf="$ES_PATH_CONF" \
|
2017-07-28 12:15:37 +09:00
|
|
|
-cp "$ES_CLASSPATH" \
|
|
|
|
org.elasticsearch.xpack.security.crypto.tool.SystemKeyTool \
|
|
|
|
"$@"
|