wrapper.java.command=java wrapper.working.dir=/var/freenet/ wrapper.java.mainclass=freenet.node.NodeStarter wrapper.java.library.path.1=/usr/lib wrapper.java.initmemory=60 wrapper.java.maxmemory=768 wrapper.java.additional.1=-Dnetworkaddress.cache.ttl=0 wrapper.java.additional.2=-Dnetworkaddress.cache.negative.ttl=0 wrapper.java.additional.3=-enableassertions:freenet # You might want to set the following line if you have changed java.maxmemory wrapper.java.additional.4=-XX:MaxPermSize=1024M # open the modules required for Java 16 and Java 17 wrapper.java.additional.5=--illegal-access=permit wrapper.java.additional.6=--add-opens=java.base/java.lang=ALL-UNNAMED wrapper.java.additional.7=--add-opens=java.base/java.util=ALL-UNNAMED wrapper.java.additional.8=--add-opens=java.base/java.io=ALL-UNNAMED # reduce the stacksize per thread from 1MiB to conserve memory since we easily use 500 threads. # Old form for compatibility with Java 11. wrapper.java.additional.9=-Xss512k # Required since JNA 5.0.0, which changed the default JNI library search path # https://github.com/java-native-access/jna/issues/384 wrapper.java.additional.10=-Djna.nosys=false wrapper.app.parameter.1=freenet.ini wrapper.console.format=PM wrapper.console.loglevel=INFO wrapper.logfile=wrapper.log wrapper.logfile.format=LPTM wrapper.logfile.loglevel=INFO wrapper.logfile.maxsize=2M wrapper.logfile.maxfiles=3 wrapper.syslog.loglevel=NONE wrapper.console.title=Freenet 0.7 wrapper.jvm_exit.timeout=120 wrapper.restart.reload_configuration=TRUE wrapper.filter.trigger.1=java.lang.OutOfMemoryError wrapper.filter.action.1=RESTART