Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/usr/bin/env bash
script_dir="$(dirname $0)"
if [ -f "$script_dir"/jre/bin/java ]; then
cd "$script_dir"
./jre/bin/java -Xmx384m -Djava.net.preferIPv4Stack=true -cp "lib/secure_shelp.jar:lib/secure_utils.jar:lib/secure_nlink.jar:lib/mail.jar:lib/activation.jar:lib/commons-logging.jar:lib/commons-pool.jar:lib/gnu-crypto.jar:lib/jradius-core.jar:lib/jradius-dictionary.jar:lib/jradius-extended.jar" -Djava.awt.headless=true SecureRunner1 com.aem.shelp.proxy.ProxyServerStartup &
else
cat <<< "$script_dir/jre/bin/java not found." 1>&2
exit 1
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.