1. # $Id: wrapper-master.conf.dist 2469 2011-06-14 17:09:46Z cyber1331 $
  2. #********************************************************************
  3. # Wrapper Properties
  4. #********************************************************************
  5. # Java Application
  6. wrapper.java.command=java
  7.  
  8. # Working Dir
  9. wrapper.working.dir=../
  10.  
  11. # Java Main class.  This class must implement the WrapperListener interface
  12. #  or guarantee that the WrapperManager class is initialized.  Helper
  13. #  classes are provided to do this for you.  See the Integration section
  14. #  of the documentation for details.
  15. wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperSimpleApp
  16.  
  17. # Java Classpath (include wrapper.jar)  Add class path elements as
  18. #  needed starting from 1
  19. wrapper.java.classpath.1=lib/wrapper.jar
  20. wrapper.java.classpath.2=lib/jpf-1.5.1.jar
  21. wrapper.java.classpath.3=lib/jpf-boot-1.5.1.jar
  22. wrapper.java.classpath.4=lib/commons-logging-1.1.1.jar
  23. wrapper.java.classpath.5=lib/log4j-1.2.16.jar
  24. wrapper.java.classpath.6=lib/drftpd-jpf-3.0.0.jar
  25.  
  26. # Java Library Path (location of Wrapper.DLL or libwrapper.so)
  27. wrapper.java.library.path.1=lib
  28.  
  29. # Java Additional Parameters
  30. wrapper.java.additional.1=-Dlog4j.configuration=file:conf/log4j-master.properties
  31. wrapper.java.additional.2=-Djpf.boot.config=conf/boot-master.properties
  32. wrapper.java.additional.3=-XX:+UnlockDiagnosticVMOptions
  33. wrapper.java.additional.4=-XX:+UnsyncloadClass
  34. #--- Uncommenting the following (And changing X to next number),
  35. #--- causes DR to create a memory dump if out of memory
  36. #wrapper.java.additional.X=-XX:+HeapDumpOnOutOfMemoryError
  37. #--- Uncommenting the following (And changing X to next number),
  38. #--- Causes Garbage collectible items to remain in memory and not collected if available memory is sufficient
  39. #wrapper.java.additional.X=-XX:SoftRefLRUPolicyMSPerMB=10000
  40. #--- Uncommenting the following (And changing X to next number),
  41. #--- Unlocks and uses part of the new G1GC
  42. #wrapper.java.additional.X=-XX:+UnlockExperimentalVMOptions
  43. #--- Uncommenting the following (And changing X to next number),
  44. #--- Use the new garbage collection routine 6.14 or higher needed
  45. #wrapper.java.additional.X=-XX:+UseG1GC
  46. #--- Uncommenting the following (And changing X to next number),
  47. #--- Sets users timezone
  48. #wrapper.java.additional.X=-Duser.timezone="Europe/Amsterdam"
  49. #--- Uncommenting the following (And changing X to next number),
  50. #--- Uses optimized versions of Get<Primitive>Field.
  51. #wrapper.java.additional.X=-XX:+UseFastAccessorMethods
  52. #--- Uncommenting the following (And changing X to next number), time will increase initial startup
  53. #--- time but should improve performance once running. This option requires you to have a
  54. #--- full JDK installed, not simply a JRE.
  55. #wrapper.java.additional.X=-server
  56. #--- Uncommenting the following (And changing X to next number), will change ouput side from ASCII(false) to Binary(true)
  57. #--- This will change file size to base 2
  58. #wrapper.java.additional.X=-Dbytes.binary=true
  59.  
  60.  
  61. # ---------------------------------------
  62. # Enable below if you wish to monitor the memory that drftpd uses, the
  63. # resulting hprof.txt file should be sent to zubov (i'm everywhere)
  64. # It will cause a severe performance hit to drftpd, but will give
  65. # valuable information that can decrease memory usage
  66. # If you have a jvm greater or equal to 1.5.0.03 HAT (the tool I was
  67. # going to use) will work with it.  If your JVM is old, upgrade or
  68. # don't bother
  69. #wrapper.java.additional.5=-Xrunhprof:heap=dump,file=hprof.txt,format=b
  70. # ---------------------------------------
  71.  
  72. # Initial Java Heap Size (in MB)
  73. wrapper.java.initmemory=16
  74. #wrapper.java.initmemory.percent=50
  75.  
  76. # Maximum Java Heap Size (in MB)
  77. wrapper.java.maxmemory=512
  78. #wrapper.java.maxmemory.percent=75
  79.  
  80. # Application parameters.  Add parameters as needed starting from 1
  81. wrapper.app.parameter.1=org.java.plugin.boot.Boot
  82.  
  83. #********************************************************************
  84. # Wrapper Logging Properties
  85. #********************************************************************
  86. # Format of output for the console.  (See docs for formats)
  87. wrapper.console.format=PM
  88.  
  89. # Log Level for console output.  (See docs for log levels)
  90. wrapper.console.loglevel=INFO
  91.  
  92. # Log file to use for wrapper output logging.
  93. wrapper.logfile=logs/wrapper-master.log
  94.  
  95. # Format of output for the log file.  (See docs for formats)
  96. wrapper.logfile.format=LPTM
  97.  
  98. # Log Level for log file output.  (See docs for log levels)
  99. wrapper.logfile.loglevel=INFO
  100.  
  101. # Maximum size that the log file will be allowed to grow to before
  102. #  the log is rolled. Size is specified in bytes.  The default value
  103. #  of 0, disables log rolling.  May abbreviate with the 'k' (kb) or
  104. #  'm' (mb) suffix.  For example: 10m = 10 megabytes.
  105. wrapper.logfile.maxsize=0
  106.  
  107. # Maximum number of rolled log files which will be allowed before old
  108. #  files are deleted.  The default value of 0 implies no limit.
  109. wrapper.logfile.maxfiles=0
  110.  
  111. # Log Level for sys/event log output.  (See docs for log levels)
  112. wrapper.syslog.loglevel=NONE
  113.  
  114. #********************************************************************
  115. # Wrapper NT Service Properties
  116. #********************************************************************
  117. # WARNING - Do not modify any of these properties when an application
  118. #  using this configuration file has been installed as a service.
  119. #  Please uninstall the service before modifying this section.  The
  120. #  service can then be reinstalled.
  121.  
  122. # Name of the service
  123. wrapper.ntservice.name=drftpd-master
  124.  
  125. # Display name of the service
  126. wrapper.ntservice.displayname=DrFTPD Master
  127.  
  128. # Description of the service
  129. wrapper.ntservice.description=DistRibuted FTP Daemon Master http://www.drftpd.org
  130.  
  131. # Service dependencies.  Add dependencies as needed starting from 1
  132. wrapper.ntservice.dependency.1=
  133.  
  134. # Mode in which the service is installed.  
  135. # [ AUTO_START | DEMAND_START ]
  136. wrapper.ntservice.starttype=AUTO_START
  137.  
  138. # Allow the service to interact with the desktop.
  139. # [ true | false ]
  140. wrapper.ntservice.interactive=false
  141.  
  142.  

Posted by Anonymous at 18 Jul 2013, 09:40:35 Europe/Berlin
Language: text