Graylog2 / fpm-recipes

Graylog package build recipes
http://docs.graylog.org/en/latest/pages/installation/operating_system_packages.html
18 stars 19 forks source link

Check if CMS GC JAVA_OPTs are available before using them. #105

Closed malcyon closed 3 years ago

malcyon commented 3 years ago

In order to support Java 15, we need to check whether the JAVA_OPTs for the CMS Garbage Collector are available or not.

Related to: Graylog2/graylog2-server#10275

I copied the structure of #87 to see which changes needed to be made.

malcyon commented 3 years ago

I tested it with Java 1.8 and Java 15 and both cases look good. Here is how I tested it:

malcyon commented 3 years ago

I also tested the RPM on Centos 7, using the above method. Everything looks good there, too.