summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Sachau <tommy@gentoo.org>2022-06-11 16:41:36 +0200
committerThomas Sachau <tommy@gentoo.org>2022-06-11 16:41:36 +0200
commit051aa227394684af4751a01282fa0e6e2746257f (patch)
tree81a76bf4f9a9f0a02fd7b15c27d60fffe45ffb5f /net-p2p/freenet/files
parentsys-devel/clang: Update LLVM_MANPAGES value in 14.0.5 (diff)
downloadgentoo-051aa227394684af4751a01282fa0e6e2746257f.tar.gz
gentoo-051aa227394684af4751a01282fa0e6e2746257f.tar.bz2
gentoo-051aa227394684af4751a01282fa0e6e2746257f.zip
net-p2p/freenet: Version bump
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Thomas Sachau <tommy@gentoo.org>
Diffstat (limited to 'net-p2p/freenet/files')
-rw-r--r--net-p2p/freenet/files/freenet-0.7.5_p1493-wrapper.conf37
1 files changed, 37 insertions, 0 deletions
diff --git a/net-p2p/freenet/files/freenet-0.7.5_p1493-wrapper.conf b/net-p2p/freenet/files/freenet-0.7.5_p1493-wrapper.conf
new file mode 100644
index 000000000000..d3471affad62
--- /dev/null
+++ b/net-p2p/freenet/files/freenet-0.7.5_p1493-wrapper.conf
@@ -0,0 +1,37 @@
+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