source: installer/resources/small/wrapper.config @ edb614d

Last change on this file since edb614d was edb614d, checked in by zzz <zzz@…>, 6 years ago

wrapper.config: Remove old mortbay properties, unused by new Jetty

  • Property mode set to 100644
File size: 6.5 KB
Line 
1#********************************************************************
2# Wrapper Properties
3#
4# WARNING - for any changes to take effect, you must completely
5# stop the router and the wrapper. Clicking 'Restart' on your
6# router console will NOT reread this file! You must
7# click "Shutdown", wait 11 minutes, then start i2p.
8#
9#********************************************************************
10# Java Application
11wrapper.java.command=java
12
13# Java Main class.  This class must implement the WrapperListener interface
14#  or guarantee that the WrapperManager class is initialized.  Helper
15#  classes are provided to do this for you.  See the Integration section
16#  of the documentation for details.
17wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperSimpleApp
18
19# Java Classpath (include wrapper.jar)  Add class path elements as
20#  needed starting from 1
21# i2p sdk, public domain/BSD/Cryptix
22wrapper.java.classpath.1=lib/i2p.jar
23# router, depends on i2p.jar, public domain
24wrapper.java.classpath.2=lib/router.jar
25# compiled jbigi libraries, contains static libGMP, lgpl
26wrapper.java.classpath.3=lib/jbigi.jar
27# sam bridge, public domain (depends on i2p.jar)
28wrapper.java.classpath.4=lib/sam.jar
29# ministreaming lib -interfaces for streaming, BSD (depends on i2p.jar)
30wrapper.java.classpath.5=lib/mstreaming.jar
31# full streaming lib, public domain (depends on mstreaming.jar, i2p.jar)
32wrapper.java.classpath.6=lib/streaming.jar
33# router console, public domain (depends on i2p.jar, router.jar)
34wrapper.java.classpath.7=lib/routerconsole.jar
35# i2ptunnel, GPL (depends on mstreaming.jar, i2p.jar)
36wrapper.java.classpath.8=lib/i2ptunnel.jar
37# jetty libraries (and dependencies), apache licensed
38wrapper.java.classpath.9=lib/org.mortbay.jetty.jar
39wrapper.java.classpath.10=lib/javax.servlet.jar
40wrapper.java.classpath.11=lib/jasper-compiler.jar
41wrapper.java.classpath.12=lib/jasper-runtime.jar
42wrapper.java.classpath.13=lib/commons-logging.jar
43wrapper.java.classpath.14=lib/commons-el.jar
44wrapper.java.classpath.15=lib/ant.jar
45wrapper.java.classpath.16=lib/xercesImpl.jar
46# java service wrapper, BSD
47wrapper.java.classpath.17=lib/wrapper.jar
48# systray, LGPL
49wrapper.java.classpath.18=lib/systray.jar
50wrapper.java.classpath.19=lib/systray4j.jar
51
52# Java Library Path (location of Wrapper.DLL or libwrapper.so)
53wrapper.java.library.path.1=.
54wrapper.java.library.path.2=lib
55
56# Java Additional Parameters
57wrapper.java.additional.1=-DloggerFilenameOverride=logs/log-router-@.txt
58
59# Prevent the JVM from exporting stats (and thereby causing hundreds of
60# ms long pauses during GC)
61# http://www.evanjones.ca/jvm-mmap-pause.html
62#wrapper.java.additional.2=-XX:+PerfDisableSharedMem
63
64# Initial Java Heap Size (in MB)
65#wrapper.java.initmemory=4
66
67# Maximum Java Heap Size (in MB)
68# The JVM's default is 64MB, and I2P can work fine in that, but to handle
69# lots of I2PSnark activity in the same JVM, increasing the default max heap
70# size should help.  Feel free to reduce this if not using I2PSnark in the jvm
71# High-bandwidth routers may need to increase to 256 or more.
72#
73# WARNING - for any changes to take effect, you must completely
74# stop the router and the wrapper. Clicking 'Restart' on your
75# router console will NOT reread this file! You must
76# click "Shutdown", wait 11 minutes, then start i2p.
77#
78# Small Distribution - set to 64MB
79#
80wrapper.java.maxmemory=64
81
82# Application parameters.  Add parameters as needed starting from 1
83wrapper.app.parameter.1=net.i2p.router.Router
84
85#********************************************************************
86# Wrapper Logging Properties
87#********************************************************************
88# Format of output for the console.  (See docs for formats)
89wrapper.console.format=PM
90
91# Log Level for console output.  (See docs for log levels)
92wrapper.console.loglevel=INFO
93
94# Log file to use for wrapper output logging.
95wrapper.logfile=wrapper.log
96
97# Format of output for the log file.  (See docs for formats)
98wrapper.logfile.format=LPTM
99
100# Log Level for log file output.  (See docs for log levels)
101wrapper.logfile.loglevel=INFO
102
103# Maximum size that the log file will be allowed to grow to before
104#  the log is rolled. Size is specified in bytes.  The default value
105#  of 0, disables log rolling.  May abbreviate with the 'k' (kb) or
106#  'm' (mb) suffix.  For example: 10m = 10 megabytes.
107wrapper.logfile.maxsize=128k
108
109# Maximum number of rolled log files which will be allowed before old
110#  files are deleted.  The default value of 0 implies no limit.
111wrapper.logfile.maxfiles=2
112
113# Log Level for sys/event log output.  (See docs for log levels)
114wrapper.syslog.loglevel=NONE
115
116# choose what to do if the JVM kills itself based on the exit code
117wrapper.on_exit.default=SHUTDOWN
118wrapper.on_exit.0=SHUTDOWN
119wrapper.on_exit.1=SHUTDOWN
120# OOM
121wrapper.on_exit.10=RESTART
122# graceful shutdown
123wrapper.on_exit.2=SHUTDOWN
124# hard shutdown
125wrapper.on_exit.3=SHUTDOWN
126# hard restart
127wrapper.on_exit.4=RESTART
128# hard restart
129wrapper.on_exit.5=RESTART
130
131# the router may take a few seconds to save state, etc
132wrapper.jvm_exit.timeout=10
133
134# give the OS 10s to clear all the old sockets / etc before restarting
135wrapper.restart.delay=10
136
137wrapper.ping.interval=600
138wrapper.ping.timeout=605
139
140# use the wrapper's internal timer thread.  otherwise this would
141# force a restart of the router during daylight savings time as well
142# as any time that the OS clock changes
143wrapper.use_system_time=false
144
145# pid file for the JVM
146wrapper.java.pidfile=routerjvm.pid
147# pid file for the service monitoring the JVM
148#
149# From i2prouter:
150#
151#     PIDDIR="."
152#     APP_NAME="i2p"
153#     PIDFILE="$PIDDIR/$APP_NAME.pid"
154#
155# This means i2prouter looks for './i2p.pid'.
156wrapper.pidfile=i2p.pid
157
158#********************************************************************
159# Wrapper NT Service Properties
160#********************************************************************
161# WARNING - Do not modify any of these properties when an application
162#  using this configuration file has been installed as a service.
163#  Please uninstall the service before modifying this section.  The
164#  service can then be reinstalled.
165
166# Name of the service
167wrapper.ntservice.name=i2p
168
169# Display name of the service
170wrapper.ntservice.displayname=I2P Service
171
172# Description of the service
173wrapper.ntservice.description=The I2P router service
174
175# Service dependencies.  Add dependencies as needed starting from 1
176wrapper.ntservice.dependency.1=
177
178# Mode in which the service is installed.  AUTO_START or DEMAND_START
179wrapper.ntservice.starttype=AUTO_START
180
181# Allow the service to interact with the desktop.
182wrapper.ntservice.interactive=true
183
Note: See TracBrowser for help on using the repository browser.