blob: 3f91bed41f339479667a0c1990ad450e5265a30f [file] [log] [blame]
#!/bin/sh
## Licensed under the terms of http://www.apache.org/licenses/LICENSE-2.0
if [ "$ARQROOT" = "" ]
then
echo "ARQROOT is not set" 1>&2
exit 1
fi
INIT="$ARQROOT/bin/arq_init"
if [ ! -r "$INIT" ]
then
echo "Script $INIT (\$ARQROOT/bin/arq_init) does not exist or is not readable"
exit 1
fi
. "$INIT"
exec java $JVM_ARGS $SOCKS -cp "$ARQ_CP" "arq.$ARQ_CMD" "$@"