Added io.atomix prefix to enable TLS to support single node and multi node cluster setup
Change-Id: I955aa231d9d5927464abd3160f82c0f3e1ea1e54
(cherry picked from commit 5de46cdd4fc9ac67f0cd800a4179b13b4c45e043)
diff --git a/tools/package/bin/onos-service b/tools/package/bin/onos-service
index d2879ef..d465a0d 100755
--- a/tools/package/bin/onos-service
+++ b/tools/package/bin/onos-service
@@ -8,7 +8,7 @@
# uncomment the following line for Netty TLS encryption
# Do modify the keystore location/password and truststore location/password accordingly
-#export JAVA_OPTS="${JAVA_OPTS:--DenableNettyTLS=true -Djavax.net.ssl.keyStore=/home/ubuntu/onos.jks -Djavax.net.ssl.keyStorePassword=222222 -Djavax.net.ssl.trustStore=/home/ubuntu/onos.jks -Djavax.net.ssl.trustStorePassword=222222}"
+#export JAVA_OPTS="${JAVA_OPTS:--Dio.atomix.enableNettyTLS=true -Djavax.net.ssl.keyStore=/home/ubuntu/onos.jks -Djavax.net.ssl.keyStorePassword=222222 -Djavax.net.ssl.trustStore=/home/ubuntu/onos.jks -Djavax.net.ssl.trustStorePassword=222222}"
export JAVA_OPTS=${JAVA_OPTS:--XX:+UseG1GC -XX:MaxGCPauseMillis=200 -Dkaraf.log.console=INFO -Dds.lock.timeout.milliseconds=10000}