From 4eb6f7c43dd06256fe05c74491e76d21ddd9d166 Mon Sep 17 00:00:00 2001 From: rafan Date: Sat, 16 Dec 2006 02:14:54 +0000 Subject: - Forgotten in last commit --- www/resin2/files/pkg-message-advanced.in | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 www/resin2/files/pkg-message-advanced.in diff --git a/www/resin2/files/pkg-message-advanced.in b/www/resin2/files/pkg-message-advanced.in new file mode 100644 index 000000000000..60f676a9c59a --- /dev/null +++ b/www/resin2/files/pkg-message-advanced.in @@ -0,0 +1,23 @@ + +-------------------------------------------------------------------------------- +ADVANCED USAGE + +If you need to pass special options to Java, please set the +%%APP_NAME%%_flags option in /etc/rc.conf, see examples below: + + # Prevent Java from opening an X11 display + + %%APP_NAME%%_flags="-Djava.awt.headless=true" + + # Increase memory limit of the Java virtual machine + + %%APP_NAME%%_flags="-Xms32m -Xmx256m" + + # Run Java with remote debugging turned on on port 8000 + + %%APP_NAME%%_flags="-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000" + +To specify the java version to use, please use %%APP_NAME%%_java_version: + + %%APP_NAME%%_java_version="1.4" + -- cgit