mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- Forgotten in last commit
This commit is contained in:
parent
35a967da99
commit
6da5473ad7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=179888
1 changed files with 23 additions and 0 deletions
23
www/resin2/files/pkg-message-advanced.in
Normal file
23
www/resin2/files/pkg-message-advanced.in
Normal file
|
@ -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"
|
||||
|
Loading…
Add table
Reference in a new issue