gchq / stroom-ansible

A home for all stroom related ansible playbooks, roles, etc.
Apache License 2.0
4 stars 6 forks source link

Add java opens to systemd #27

Closed stroomdev66 closed 1 year ago

stroomdev66 commented 1 year ago

ExecStart=/home/stroomuser/.sdkman/candidates/java/17.0.5-tem/bin/java \ -Xms50m -Xmx2g \ --add-opens java.base/java.nio=ALL-UNNAMED \ --add-opens java.base/sun.nio.ch=ALL-UNNAMED \ --add-opens java.base/java.lang=ALL-UNNAMED \ -jar /home/stroomuser/stroom/v7.2-alpha.4/bin/stroom-app-all.jar \ server /home/stroomuser/stroom/v7.2-alpha.4/config/config.yml