mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
fix shellcheck
This commit is contained in:
parent
daf0b5ad2b
commit
c6c180c35d
@ -81,8 +81,8 @@ if [[ ! -f "$ZOO_DATA_DIR/myid" ]]; then
|
|||||||
echo "${ZOO_MY_ID:-1}" > "$ZOO_DATA_DIR/myid"
|
echo "${ZOO_MY_ID:-1}" > "$ZOO_DATA_DIR/myid"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mkdir -p $(dirname $ZOO_SSL_KEYSTORE_LOCATION)
|
mkdir -p "$(dirname $ZOO_SSL_KEYSTORE_LOCATION)"
|
||||||
mkdir -p $(dirname $ZOO_SSL_TRUSTSTORE_LOCATION)
|
mkdir -p "$(dirname $ZOO_SSL_TRUSTSTORE_LOCATION)"
|
||||||
|
|
||||||
if [[ ! -f "$ZOO_SSL_KEYSTORE_LOCATION" ]]; then
|
if [[ ! -f "$ZOO_SSL_KEYSTORE_LOCATION" ]]; then
|
||||||
keytool -genkeypair -alias zookeeper -keyalg RSA -validity 365 -keysize 2048 -dname "cn=zookeeper" -keypass password -keystore $ZOO_SSL_KEYSTORE_LOCATION -storepass password -deststoretype pkcs12
|
keytool -genkeypair -alias zookeeper -keyalg RSA -validity 365 -keysize 2048 -dname "cn=zookeeper" -keypass password -keystore $ZOO_SSL_KEYSTORE_LOCATION -storepass password -deststoretype pkcs12
|
||||||
|
Loading…
Reference in New Issue
Block a user