summarylogtreecommitdiffstats
path: root/wrapper.conf.patch
diff options
context:
space:
mode:
Diffstat (limited to 'wrapper.conf.patch')
-rw-r--r--wrapper.conf.patch182
1 files changed, 182 insertions, 0 deletions
diff --git a/wrapper.conf.patch b/wrapper.conf.patch
new file mode 100644
index 000000000000..b95d1cd4173e
--- /dev/null
+++ b/wrapper.conf.patch
@@ -0,0 +1,182 @@
+--- wrapper.conf.orig 2015-11-02 10:08:46.000000000 +0900
++++ wrapper.conf 2015-11-08 17:01:50.394826988 +0900
+@@ -1,88 +1,90 @@
+-# Path to JVM executable. By default it must be available in PATH.
+-# Can be an absolute path, for example:
+-#wrapper.java.command=/path/to/my/jdk/bin/java
+-wrapper.java.command=java
+-
+-
+-#
+-# DO NOT EDIT THE FOLLOWING SECTIONS
+-#
+-
+-
+-#********************************************************************
+-# Wrapper Java
+-#********************************************************************
+-wrapper.java.additional.1=-Djava.awt.headless=true
+-wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperSimpleApp
+-wrapper.java.classpath.1=../../lib/jsw/*.jar
+-wrapper.java.classpath.2=../../lib/*.jar
+-wrapper.java.library.path.1=./lib
+-wrapper.app.parameter.1=org.sonar.application.App
+-wrapper.java.initmemory=3
+-wrapper.java.maxmemory=3
+-
+-#********************************************************************
+-# Wrapper Logs
+-#********************************************************************
+-
+-wrapper.console.format=PM
+-wrapper.console.loglevel=INFO
+-wrapper.logfile=../../logs/sonar.log
+-wrapper.logfile.format=M
+-wrapper.logfile.loglevel=INFO
+-
+-# Maximum size that the log file will be allowed to grow to before
+-# the log is rolled. Size is specified in bytes. The default value
+-# of 0, disables log rolling. May abbreviate with the 'k' (kb) or
+-# 'm' (mb) suffix. For example: 10m = 10 megabytes.
+-#wrapper.logfile.maxsize=0
+-
+-# Maximum number of rolled log files which will be allowed before old
+-# files are deleted. The default value of 0 implies no limit.
+-#wrapper.logfile.maxfiles=0
+-
+-# Log Level for sys/event log output. (See docs for log levels)
+-wrapper.syslog.loglevel=NONE
+-
+-#********************************************************************
+-# Wrapper Windows Properties
+-#********************************************************************
+-# Title to use when running as a console
+-wrapper.console.title=SonarQube
+-
+-# Disallow start of multiple instances of an application at the same time on Windows
+-wrapper.single_invocation=true
+-
+-#********************************************************************
+-# Wrapper Windows NT/2000/XP Service Properties
+-#********************************************************************
+-# WARNING - Do not modify any of these properties when an application
+-# using this configuration file has been installed as a service.
+-# Please uninstall the service before modifying this section. The
+-# service can then be reinstalled.
+-
+-# Name of the service
+-wrapper.ntservice.name=SonarQube
+-
+-# Display name of the service
+-wrapper.ntservice.displayname=SonarQube
+-
+-# Description of the service
+-wrapper.ntservice.description=SonarQube
+-
+-# Service dependencies. Add dependencies as needed starting from 1
+-wrapper.ntservice.dependency.1=
+-
+-# Mode in which the service is installed. AUTO_START or DEMAND_START
+-wrapper.ntservice.starttype=AUTO_START
+-
+-# Allow the service to interact with the desktop.
+-wrapper.ntservice.interactive=false
+-
+-#********************************************************************
+-# Forking Properties
+-#********************************************************************
+-wrapper.disable_restarts=TRUE
+-wrapper.ping.timeout=0
+-wrapper.shutdown.timeout=3000
+-wrapper.jvm_exit.timeout=3000
+\ No newline at end of file
++# Path to JVM executable. By default it must be available in PATH.
++# Can be an absolute path, for example:
++#wrapper.java.command=/path/to/my/jdk/bin/java
++wrapper.java.command=java
++
++
++#
++# DO NOT EDIT THE FOLLOWING SECTIONS
++#
++
++export SONAR_HOME=${SONAR_HOME:=/usr/share/sonarqube}
++
++#********************************************************************
++# Wrapper Java
++#********************************************************************
++wrapper.java.additional.1=-Djava.awt.headless=true
++wrapper.java.additional.2=-XX:MaxPermSize=128m
++wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperSimpleApp
++wrapper.java.classpath.1=../lib/jsw/*.jar
++wrapper.java.classpath.2=../lib/*.jar
++wrapper.java.library.path.1=./lib
++wrapper.app.parameter.1=org.sonar.application.App
++wrapper.java.initmemory=256
++wrapper.java.maxmemory=512
++
++#********************************************************************
++# Wrapper Logs
++#********************************************************************
++
++wrapper.console.format=PM
++wrapper.console.loglevel=INFO
++wrapper.logfile=/var/log/sonarqube/sonar.log
++wrapper.logfile.format=LPTM
++wrapper.logfile.loglevel=INFO
++
++# Maximum size that the log file will be allowed to grow to before
++# the log is rolled. Size is specified in bytes. The default value
++# of 0, disables log rolling. May abbreviate with the 'k' (kb) or
++# 'm' (mb) suffix. For example: 10m = 10 megabytes.
++#wrapper.logfile.maxsize=0
++
++# Maximum number of rolled log files which will be allowed before old
++# files are deleted. The default value of 0 implies no limit.
++#wrapper.logfile.maxfiles=0
++
++# Log Level for sys/event log output. (See docs for log levels)
++wrapper.syslog.loglevel=NONE
++
++#********************************************************************
++# Wrapper Windows Properties
++#********************************************************************
++# Title to use when running as a console
++wrapper.console.title=SonarQube
++
++# Disallow start of multiple instances of an application at the same time on Windows
++wrapper.single_invocation=true
++
++#********************************************************************
++# Wrapper Windows NT/2000/XP Service Properties
++#********************************************************************
++# WARNING - Do not modify any of these properties when an application
++# using this configuration file has been installed as a service.
++# Please uninstall the service before modifying this section. The
++# service can then be reinstalled.
++
++# Name of the service
++wrapper.ntservice.name=SonarQube
++
++# Display name of the service
++wrapper.ntservice.displayname=SonarQube
++
++# Description of the service
++wrapper.ntservice.description=SonarQube
++
++# Service dependencies. Add dependencies as needed starting from 1
++wrapper.ntservice.dependency.1=
++
++# Mode in which the service is installed. AUTO_START or DEMAND_START
++wrapper.ntservice.starttype=AUTO_START
++
++# Allow the service to interact with the desktop.
++wrapper.ntservice.interactive=false
++
++#********************************************************************
++# Forking Properties
++#********************************************************************
++wrapper.disable_restarts=TRUE
++wrapper.ping.timeout=0
++wrapper.shutdown.timeout=3000
++wrapper.jvm_exit.timeout=3000