Skip to content

Instantly share code, notes, and snippets.

@ahonor
Created December 16, 2015 21:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ahonor/f9686eeba4dc5cbbd124 to your computer and use it in GitHub Desktop.
Save ahonor/f9686eeba4dc5cbbd124 to your computer and use it in GitHub Desktop.
RDECK_BASE=@RDECK_BASE@
export RDECK_BASE
TOOLSDIR=$RDECK_BASE/tools
PATH=$TOOLSDIR/bin:$PATH
export PATH
if test -t 0 -a -z "$RUNDECK_CLI_TERSE"
then
RUNDECK_CLI_TERSE=true
export RUNDECK_CLI_TERSE
fi
if test -n "$JRE_HOME"
then
unset JRE_HOME
fi
CLI_CP=
for i in $TOOLSDIR/lib/*.jar
do CLI_CP=${CLI_CP}:${i}
done
export CLI_CP
#
# Set min/max heap size
#
export RDECK_JVM="$RDECK_JVM -Xmx1024m"
export RDECK_SSL_OPTS="-Djavax.net.ssl.trustStore=$RDECK_BASE/etc/truststore -Djavax.net.ssl.trustStoreType=jks -Djava.protocol.handler.pkgs=com.sun.net.ssl.internal.www.protocol"
umask 002
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment