Lines Matching refs:JACK_HOME
26 JACK_HOME="${JACK_HOME:=$HOME/.jack-server}"
32 LAUNCHER_JAR="$JACK_HOME/launcher.jar"
41 JACK_LOGS_DIR="$JACK_HOME"/logs
92 echo "Failed to contact Jack server: Problem reading ${JACK_HOME}/client.pem. Try 'jack-diagnose'" >&2
98 echo "Failed to contact Jack server: Problem reading ${JACK_HOME}/server.pem. Try 'jack-diagnose'" >&2
131 --cert "${JACK_HOME}/client.pem" \
132 --cacert "${JACK_HOME}/server.pem" \
155 --cert "${JACK_HOME}/client.pem" \
156 --cacert "${JACK_HOME}/server.pem" \
192 --cert "${JACK_HOME}/client.pem" \
193 --cacert "${JACK_HOME}/server.pem" \
222 --cert "${JACK_HOME}/client.pem" \
223 --cacert "${JACK_HOME}/server.pem" \
272 if [ ! -d "$JACK_HOME" ]; then
273 echo Installing jack server in \"$JACK_HOME\"
274 mkdir -p "$JACK_HOME"
276 cp $3 "$JACK_HOME/server-1.jar"
278 keytool -genkeypair -validity 3650 -alias server -keyalg RSA -keysize 2048 -keypass Jack-Server -storepass Jack-Server -dname "CN=$SERVER_HOST" -keystore "$JACK_HOME/server.jks"
279 keytool -genkeypair -validity 3650 -alias client -keyalg RSA -keysize 2048 -keypass Jack-Server -storepass Jack-Server -dname "CN=$(id -un)@$(uname -n)" -keystore "$JACK_HOME/client.jks"
281 echo "Jack server already installed in \"$JACK_HOME\"" >&2
288 if [ ! -d "$JACK_HOME" ]; then
289 echo "Jack server in \"$JACK_HOME\" not found" >&2
292 echo "Removing jack server from \"$JACK_HOME\""
293 rm -rf "$JACK_HOME"
331 --cert "${JACK_HOME}/client.pem" \
332 --cacert "${JACK_HOME}/server.pem" \
362 --cert "${JACK_HOME}/client.pem" \
363 --cacert "${JACK_HOME}/server.pem" \
378 --cert "${JACK_HOME}/client.pem" \
379 --cacert "${JACK_HOME}/server.pem" \
394 --cert "${JACK_HOME}/client.pem" \
395 --cacert "${JACK_HOME}/server.pem" \
444 if [ ! -d "$JACK_HOME" ]; then
461 cd "$JACK_HOME"
494 --cert "${JACK_HOME}/client.pem" \
495 --cacert "${JACK_HOME}/server.pem" \
512 --cert "${JACK_HOME}/client.pem" \
513 --cacert "${JACK_HOME}/server.pem" \
529 for file in $JACK_HOME/jack/*.deleted; do
537 if [ ! -d "$JACK_HOME" ]; then
545 REPORT_INFO="$JACK_HOME/report.$$.txt"
588 echo "\$ cd \"\$JACK_HOME\"; ls -l -R -n ." >>"$REPORT_INFO"
589 (cd "$JACK_HOME" ; ls -l -R -n . >>"$REPORT_INFO" 2>&1)
607 (cd "$JACK_HOME"; zip --exclude \*.pem \*.jks --recurse-paths "$REPORT_PATH" .) >/dev/null