tomcat-instance: default rng set to /dev/urandom

This commit is contained in:
Victor LABORIE 2017-07-13 13:50:48 +02:00
parent da974b6cb0
commit 00a8947da1
1 changed files with 2 additions and 1 deletions

View File

@ -2,5 +2,6 @@
# Xmx Max memory allocated to instance.
# Xms Allocated memory at startup.
# XX:MaxPermSize Memory allocated to internal objects.
# Djava.security.egd -> https://wiki.apache.org/tomcat/HowTo/FasterStartUp#Entropy_Source
JAVA_HOME="{{ tomcat_instance_java_path }}"
JAVA_OPTS="-server -Xmx{{ tomcat_instance_ram }}m -Xms{{ tomcat_instance_ram }}m -XX:MaxPermSize={{ tomcat_instance_mps }}m -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled -Xverify:none"
JAVA_OPTS="-server -Xmx{{ tomcat_instance_ram }}m -Xms{{ tomcat_instance_ram }}m -XX:MaxPermSize={{ tomcat_instance_mps }}m -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled -Xverify:none -Djava.security.egd=file:/dev/./urandom"