Advertisement
Guest User

Wrapper.conf

a guest
Mar 21st, 2015
388
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.28 KB | None | 0 0
  1. #encoding=UTF-8
  2. # Configuration files must begin with a line specifying the encoding
  3. # of the the file.
  4.  
  5. #********************************************************************
  6. # Wrapper License Properties (Ignored by Community Edition)
  7. #********************************************************************
  8. # Professional and Standard Editions of the Wrapper require a valid
  9. # License Key to start. Licenses can be purchased or a trial license
  10. # requested on the following pages:
  11. # http://wrapper.tanukisoftware.com/purchase
  12. # http://wrapper.tanukisoftware.com/trial
  13.  
  14. # Include file problems can be debugged by removing the first '#'
  15. # from the following line:
  16. ##include.debug
  17.  
  18. # The Wrapper will look for either of the following optional files for a
  19. # valid License Key. License Key properties can optionally be included
  20. # directly in this configuration file.
  21. #include ../conf/wrapper-license.conf
  22. #include ../conf/wrapper-license-%WRAPPER_HOST_NAME%.conf
  23.  
  24. # The following property will output information about which License Key(s)
  25. # are being found, and can aid in resolving any licensing problems.
  26. #wrapper.license.debug=TRUE
  27.  
  28. #********************************************************************
  29. # Wrapper Localization
  30. #********************************************************************
  31. # Specify the locale which the Wrapper should use. By default the system
  32. # locale is used.
  33. #wrapper.lang=en_US # en_US or ja_JP
  34.  
  35. # Specify the location of the Wrapper's language resources. If these are
  36. # missing, the Wrapper will default to the en_US locale.
  37. wrapper.lang.folder=../lang
  38.  
  39. #********************************************************************
  40. # Wrapper Java Properties
  41. #********************************************************************
  42. # Java Application
  43. # Locate the java binary on the system PATH:
  44. wrapper.java.command=java
  45. # Specify a specific java binary:
  46. #set.JAVA_HOME=/java/path
  47. #wrapper.java.command=%JAVA_HOME%/bin/java
  48.  
  49. # Tell the Wrapper to log the full generated Java command line.
  50. #wrapper.java.command.loglevel=INFO
  51.  
  52. # Java Main class. This class must implement the WrapperListener interface
  53. # or guarantee that the WrapperManager class is initialized. Helper
  54. # classes are provided to do this for you. See the Integration section
  55. # of the documentation for details.
  56. wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperSimpleApp
  57.  
  58. # Java Classpath (include wrapper.jar) Add class path elements as
  59. # needed starting from 1
  60. wrapper.java.classpath.2=../tracker-server.jar
  61. wrapper.java.classpath.1=../lib/wrapper.jar
  62.  
  63. # Java Library Path (location of Wrapper.DLL or libwrapper.so)
  64. wrapper.java.library.path.1=../lib
  65.  
  66. # Java Bits. On applicable platforms, tells the JVM to run in 32 or 64-bit mode.
  67. wrapper.java.additional.auto_bits=TRUE
  68.  
  69. # Java Additional Parameters
  70. wrapper.java.additional.1=
  71.  
  72. # Initial Java Heap Size (in MB)
  73. #wrapper.java.initmemory=3
  74.  
  75. # Maximum Java Heap Size (in MB)
  76. #wrapper.java.maxmemory=64
  77.  
  78. # Application parameters. Add parameters as needed starting from 1
  79. #wrapper.app.parameter.2=/opt/traccar/conf/traccar.cfg
  80. wrapper.app.parameter.1=org.traccar.Main
  81.  
  82. #********************************************************************
  83. # Wrapper Logging Properties
  84. #********************************************************************
  85. # Enables Debug output from the Wrapper.
  86. # wrapper.debug=TRUE
  87.  
  88. # Format of output for the console. (See docs for formats)
  89. wrapper.console.format=PM
  90.  
  91. # Log Level for console output. (See docs for log levels)
  92. wrapper.console.loglevel=INFO
  93.  
  94. # Log file to use for wrapper output logging.
  95. wrapper.logfile=../logs/wrapper.log.YYYYMMDD
  96. wrapper.logfile.rollmode=DATE
  97.  
  98. # Format of output for the log file. (See docs for formats)
  99. wrapper.logfile.format=LPTM
  100.  
  101. # Log Level for log file output. (See docs for log levels)
  102. wrapper.logfile.loglevel=INFO
  103.  
  104. # Maximum size that the log file will be allowed to grow to before
  105. # the log is rolled. Size is specified in bytes. The default value
  106. # of 0, disables log rolling. May abbreviate with the 'k' (kb) or
  107. # 'm' (mb) suffix. For example: 10m = 10 megabytes.
  108. wrapper.logfile.maxsize=0
  109.  
  110. # Maximum number of rolled log files which will be allowed before old
  111. # files are deleted. The default value of 0 implies no limit.
  112. wrapper.logfile.maxfiles=0
  113.  
  114. # Log Level for sys/event log output. (See docs for log levels)
  115. wrapper.syslog.loglevel=NONE
  116.  
  117. #********************************************************************
  118. # Wrapper General Properties
  119. #********************************************************************
  120. # Allow for the use of non-contiguous numbered properties
  121. wrapper.ignore_sequence_gaps=TRUE
  122.  
  123. # Do not start if the pid file already exists.
  124. wrapper.pidfile.strict=TRUE
  125.  
  126. # Title to use when running as a console
  127. wrapper.console.title=traccar
  128.  
  129. #********************************************************************
  130. # Wrapper JVM Checks
  131. #********************************************************************
  132. # Detect DeadLocked Threads in the JVM. (Requires Standard Edition)
  133. wrapper.check.deadlock=TRUE
  134. wrapper.check.deadlock.interval=60
  135. wrapper.check.deadlock.action=RESTART
  136. wrapper.check.deadlock.output=FULL
  137.  
  138. # Out Of Memory detection.
  139. # Ignore -verbose:class output to avoid false positives.
  140. wrapper.filter.trigger.1000=[Loaded java.lang.OutOfMemoryError
  141. wrapper.filter.action.1000=NONE
  142. # (Simple match)
  143. wrapper.filter.trigger.1001=java.lang.OutOfMemoryError
  144. # (Only match text in stack traces if -XX:+PrintClassHistogram is being used.)
  145. #wrapper.filter.trigger.1001=Exception in thread "*" java.lang.OutOfMemoryError
  146. #wrapper.filter.allow_wildcards.1001=TRUE
  147. wrapper.filter.action.1001=RESTART
  148. wrapper.filter.message.1001=The JVM has run out of memory.
  149.  
  150. #********************************************************************
  151. # Wrapper Email Notifications. (Requires Professional Edition)
  152. #********************************************************************
  153. # Common Event Email settings.
  154. #wrapper.event.default.email.debug=TRUE
  155. #wrapper.event.default.email.smtp.host=<SMTP_Host>
  156. #wrapper.event.default.email.smtp.port=25
  157. #wrapper.event.default.email.subject=[%WRAPPER_HOSTNAME%:%WRAPPER_NAME%:%WRAPPER_EVENT_NAME%] Event Notification
  158. #wrapper.event.default.email.sender=<Sender email>
  159. #wrapper.event.default.email.recipient=<Recipient email>
  160.  
  161. # Configure the log attached to event emails.
  162. #wrapper.event.default.email.attach_log=TRUE
  163. #wrapper.event.default.email.maillog.lines=50
  164. #wrapper.event.default.email.maillog.format=LPTM
  165. #wrapper.event.default.email.maillog.loglevel=INFO
  166.  
  167. # Enable specific event emails.
  168. #wrapper.event.wrapper_start.email=TRUE
  169. #wrapper.event.jvm_prelaunch.email=TRUE
  170. #wrapper.event.jvm_start.email=TRUE
  171. #wrapper.event.jvm_started.email=TRUE
  172. #wrapper.event.jvm_deadlock.email=TRUE
  173. #wrapper.event.jvm_stop.email=TRUE
  174. #wrapper.event.jvm_stopped.email=TRUE
  175. #wrapper.event.jvm_restart.email=TRUE
  176. #wrapper.event.jvm_failed_invocation.email=TRUE
  177. #wrapper.event.jvm_max_failed_invocations.email=TRUE
  178. #wrapper.event.jvm_kill.email=TRUE
  179. #wrapper.event.jvm_killed.email=TRUE
  180. #wrapper.event.jvm_unexpected_exit.email=TRUE
  181. #wrapper.event.wrapper_stop.email=TRUE
  182.  
  183. # Specify custom mail content
  184. wrapper.event.jvm_restart.email.body=The JVM was restarted.\n\nPlease check on its status.\n
  185.  
  186. #********************************************************************
  187. # Wrapper Windows NT/2000/XP Service Properties
  188. #********************************************************************
  189. # WARNING - Do not modify any of these properties when an application
  190. # using this configuration file has been installed as a service.
  191. # Please uninstall the service before modifying this section. The
  192. # service can then be reinstalled.
  193.  
  194. # Name of the service
  195. wrapper.name=traccar
  196.  
  197. # Display name of the service
  198. wrapper.displayname=traccar
  199.  
  200. # Description of the service
  201. wrapper.description=traccar
  202.  
  203. # Service dependencies. Add dependencies as needed starting from 1
  204. wrapper.ntservice.dependency.1=
  205.  
  206. # Mode in which the service is installed. AUTO_START, DELAY_START or DEMAND_START
  207. wrapper.ntservice.starttype=AUTO_START
  208.  
  209. # Allow the service to interact with the desktop.
  210. wrapper.ntservice.interactive=false
  211. # Parameter setting by Synology installation Gui
  212. wrapper.app.parameter.2=/volume1/@appstore/traccar/conf/traccar.cfg
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement