2016-07-07 07:41:48 -04:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# 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-20 20:39:46 -04:00
|
|
|
source "`dirname "$0"`"/../elasticsearch-env
|
2016-07-07 07:41:48 -04:00
|
|
|
|
2017-07-20 20:39:46 -04:00
|
|
|
source "`dirname "$0"`"/x-pack-env
|
2016-07-07 07:41:48 -04:00
|
|
|
|
2017-07-31 10:13:22 -04:00
|
|
|
exec \
|
|
|
|
"$JAVA" \
|
2017-07-27 23:15:37 -04:00
|
|
|
$ES_JAVA_OPTS \
|
|
|
|
-Des.path.home="$ES_HOME" \
|
2017-08-14 17:19:39 -04:00
|
|
|
-Des.path.conf="$ES_PATH_CONF" \
|
2017-07-27 23:15:37 -04:00
|
|
|
-cp "$ES_CLASSPATH" \
|
2017-10-29 22:08:31 -04:00
|
|
|
org.elasticsearch.xpack.ssl.CertificateGenerateTool \
|
2017-07-27 23:15:37 -04:00
|
|
|
"$@"
|