summaryrefslogtreecommitdiff
path: root/startYACY.sh
diff options
context:
space:
mode:
Diffstat (limited to 'startYACY.sh')
-rwxr-xr-xstartYACY.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/startYACY.sh b/startYACY.sh
index bacf6c649..7598d7618 100755
--- a/startYACY.sh
+++ b/startYACY.sh
@@ -6,7 +6,9 @@ PIDFILE="yacy.pid"
OS="`uname`"
#get javastart args
-JAVA_ARGS="-server -Djava.awt.headless=true -Dfile.encoding=UTF-8";
+JAVA_ARGS="-server -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djsse.enableSNIExtension=false";
+#rem -Djsse.enableSNIExtension=false fix a ssl problem in Java 1.7, see http://teknosrc.com/javax-net-ssl-sslprotocolexception-handshake-alert-unrecognized_name-solved/
+
#JAVA_ARGS="-verbose:gc -XX:+PrintGCTimeStamps -XX:+PrintGCDetails $JAVA_ARGS";
#check if OS is Sun Solaris or one of the OpenSolaris distributions and use different version of id if necessary