|
|
@ -11,6 +11,13 @@
|
|
|
|
# with the runplain.sh script on Linux. Use the 'restartable'
|
|
|
|
# with the runplain.sh script on Linux. Use the 'restartable'
|
|
|
|
# icon on Windows or the i2prouter script on Linux to run the wrapper.
|
|
|
|
# icon on Windows or the i2prouter script on Linux to run the wrapper.
|
|
|
|
#
|
|
|
|
#
|
|
|
|
|
|
|
|
# NOTE - Directory organization:
|
|
|
|
|
|
|
|
# The standard I2P Installation will set up a "split" directory structure
|
|
|
|
|
|
|
|
# with code in the install directory, data and configuration files in the
|
|
|
|
|
|
|
|
# user's home directory, and temporary files in the system temporary directory.
|
|
|
|
|
|
|
|
# To set up a single-directory "portable" installation suitable for
|
|
|
|
|
|
|
|
# a USB stick, make several changes specified below (search for PORTABLE).
|
|
|
|
|
|
|
|
#
|
|
|
|
# NOTE - The izpack installer performs variable subsitiution on this
|
|
|
|
# NOTE - The izpack installer performs variable subsitiution on this
|
|
|
|
# file upon installation. If you did not use izpack, you must
|
|
|
|
# file upon installation. If you did not use izpack, you must
|
|
|
|
# find and replace all instances of (dollar)INSTALL_PATH and
|
|
|
|
# find and replace all instances of (dollar)INSTALL_PATH and
|
|
|
@ -47,12 +54,22 @@ wrapper.java.library.path.1=$INSTALL_PATH
|
|
|
|
wrapper.java.library.path.2=$INSTALL_PATH/lib
|
|
|
|
wrapper.java.library.path.2=$INSTALL_PATH/lib
|
|
|
|
|
|
|
|
|
|
|
|
# Java Additional Parameters
|
|
|
|
# Java Additional Parameters
|
|
|
|
|
|
|
|
# Numbers must be consecutive (except for stripquotes)
|
|
|
|
wrapper.java.additional.1=-DloggerFilenameOverride=logs/log-router-@.txt
|
|
|
|
wrapper.java.additional.1=-DloggerFilenameOverride=logs/log-router-@.txt
|
|
|
|
wrapper.java.additional.2=-Dorg.mortbay.http.Version.paranoid=true
|
|
|
|
wrapper.java.additional.2=-Dorg.mortbay.http.Version.paranoid=true
|
|
|
|
wrapper.java.additional.3=-Dorg.mortbay.util.FileResource.checkAliases=false
|
|
|
|
wrapper.java.additional.3=-Dorg.mortbay.util.FileResource.checkAliases=false
|
|
|
|
wrapper.java.additional.4=-Dorg.mortbay.xml.XmlParser.NotValidating=true
|
|
|
|
wrapper.java.additional.4=-Dorg.mortbay.xml.XmlParser.NotValidating=true
|
|
|
|
wrapper.java.additional.5=-Di2p.dir.base="$INSTALL_PATH"
|
|
|
|
wrapper.java.additional.5=-Di2p.dir.base="$INSTALL_PATH"
|
|
|
|
wrapper.java.additional.5.stripquotes=TRUE
|
|
|
|
wrapper.java.additional.5.stripquotes=TRUE
|
|
|
|
|
|
|
|
# PORTABLE installation:
|
|
|
|
|
|
|
|
# uncomment the following
|
|
|
|
|
|
|
|
#wrapper.java.additional.6=-Di2p.dir.pid="$INSTALL_PATH"
|
|
|
|
|
|
|
|
#wrapper.java.additional.6.stripquotes=TRUE
|
|
|
|
|
|
|
|
#wrapper.java.additional.7=-Di2p.dir.temp="$INSTALL_PATH"
|
|
|
|
|
|
|
|
#wrapper.java.additional.7.stripquotes=TRUE
|
|
|
|
|
|
|
|
#wrapper.java.additional.8=-Di2p.dir.config="$INSTALL_PATH"
|
|
|
|
|
|
|
|
#wrapper.java.additional.8.stripquotes=TRUE
|
|
|
|
|
|
|
|
#
|
|
|
|
# Uncomment this for better performance.
|
|
|
|
# Uncomment this for better performance.
|
|
|
|
# If it doesn't work, server mode is not available in your JVM.
|
|
|
|
# If it doesn't work, server mode is not available in your JVM.
|
|
|
|
# This may not be required if your machine is already "server-class".
|
|
|
|
# This may not be required if your machine is already "server-class".
|
|
|
@ -95,6 +112,10 @@ wrapper.console.loglevel=INFO
|
|
|
|
# (change X to the next available number)
|
|
|
|
# (change X to the next available number)
|
|
|
|
# wrapper.java.additional.X=-Dwrapper.logfile=/path/to/wrapper.log
|
|
|
|
# wrapper.java.additional.X=-Dwrapper.logfile=/path/to/wrapper.log
|
|
|
|
wrapper.logfile=$SYSTEM_java_io_tmpdir/wrapper.log
|
|
|
|
wrapper.logfile=$SYSTEM_java_io_tmpdir/wrapper.log
|
|
|
|
|
|
|
|
# PORTABLE installation:
|
|
|
|
|
|
|
|
# Use the following instead. I2P will find the logfile here,
|
|
|
|
|
|
|
|
# no need for a wrapper.java.additional line too.
|
|
|
|
|
|
|
|
#wrapper.logfile=$INSTALL_PATH/wrapper.log
|
|
|
|
|
|
|
|
|
|
|
|
# Format of output for the log file. (See docs for formats)
|
|
|
|
# Format of output for the log file. (See docs for formats)
|
|
|
|
wrapper.logfile.format=LPTM
|
|
|
|
wrapper.logfile.format=LPTM
|
|
|
@ -151,6 +172,9 @@ wrapper.use_system_time=false
|
|
|
|
# and edit the i2prouter script to change the WRAPPER_CONF setting
|
|
|
|
# and edit the i2prouter script to change the WRAPPER_CONF setting
|
|
|
|
# to point to the new wrapper.config location.
|
|
|
|
# to point to the new wrapper.config location.
|
|
|
|
wrapper.java.pidfile=$SYSTEM_java_io_tmpdir/routerjvm.pid
|
|
|
|
wrapper.java.pidfile=$SYSTEM_java_io_tmpdir/routerjvm.pid
|
|
|
|
|
|
|
|
# PORTABLE installation:
|
|
|
|
|
|
|
|
# Use the following instead.
|
|
|
|
|
|
|
|
#wrapper.java.pidfile=$INSTALL_PATH/routerjvm.pid
|
|
|
|
# pid file for the service monitoring the JVM
|
|
|
|
# pid file for the service monitoring the JVM
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# From i2prouter:
|
|
|
|
# From i2prouter:
|
|
|
@ -162,6 +186,9 @@ wrapper.java.pidfile=$SYSTEM_java_io_tmpdir/routerjvm.pid
|
|
|
|
# This means i2prouter looks for './i2p.pid'.
|
|
|
|
# This means i2prouter looks for './i2p.pid'.
|
|
|
|
# See comments above for wrapper.java.pidfile
|
|
|
|
# See comments above for wrapper.java.pidfile
|
|
|
|
wrapper.pidfile=$SYSTEM_java_io_tmpdir/i2p.pid
|
|
|
|
wrapper.pidfile=$SYSTEM_java_io_tmpdir/i2p.pid
|
|
|
|
|
|
|
|
# PORTABLE installation:
|
|
|
|
|
|
|
|
# Use the following instead.
|
|
|
|
|
|
|
|
#wrapper.pidfile=$INSTALL_PATH/i2p.pid
|
|
|
|
|
|
|
|
|
|
|
|
#********************************************************************
|
|
|
|
#********************************************************************
|
|
|
|
# Wrapper NT Service Properties
|
|
|
|
# Wrapper NT Service Properties
|
|
|
|