gooderp18绿色标准版
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

242 rindas
7.9KB

  1. Changes since 2.23
  2. ------------------
  3. * NSSM once again calls TerminateProcess() correctly.
  4. Changes since 2.22
  5. ------------------
  6. * NSSM no longer clutters the event log with "The specified
  7. procedure could not be found" on legacy Windows releases.
  8. * Fixed failure to set a local username to run the service.
  9. Changes since 2.21
  10. ------------------
  11. * Existing services can now be managed using the GUI
  12. or on the command line.
  13. * NSSM can now set the priority class and processor
  14. affinity of the managed application.
  15. * NSSM can now apply an unconditional delay before
  16. restarting the application.
  17. * NSSM can now optionally rotate existing files when
  18. redirecting I/O.
  19. * Unqualified path names are now relative to the
  20. application startup directory when redirecting I/O.
  21. * NSSM can now set the service display name, description,
  22. startup type and log on details.
  23. * All services now receive a standard console window,
  24. allowing them to read input correctly (if running in
  25. interactive mode).
  26. Changes since 2.20
  27. ------------------
  28. * Services installed from the GUI no longer have incorrect
  29. AppParameters set in the registry.
  30. Changes since 2.19
  31. ------------------
  32. * Services installed from the commandline without using the
  33. GUI no longer have incorrect AppStopMethod* registry
  34. entries set.
  35. Changes since 2.18
  36. ------------------
  37. * Support AppEnvironmentExtra to append to the environment
  38. instead of replacing it.
  39. * The GUI is significantly less sucky.
  40. Changes since 2.17
  41. ------------------
  42. * Timeouts for each shutdown method can be configured in
  43. the registry.
  44. * The GUI is slightly less sucky.
  45. Changes since 2.16
  46. ------------------
  47. * NSSM can now redirect the service's I/O streams to any path
  48. capable of being opened by CreateFile().
  49. * Allow building on Visual Studio Express.
  50. * Silently ignore INTERROGATE control.
  51. * Try to send Control-C events to console applications when
  52. shutting them down.
  53. Changes since 2.15
  54. ------------------
  55. * Fixed case where NSSM could kill unrelated processes when
  56. shutting down.
  57. Changes since 2.14
  58. ------------------
  59. * NSSM is now translated into Italian.
  60. * Fixed GUI not allowing paths longer than 256 characters.
  61. Changes since 2.13
  62. ------------------
  63. * Fixed default GUI language being French not English.
  64. Changes since 2.12
  65. ------------------
  66. * Fixed failure to run on Windows 2000.
  67. Changes since 2.11
  68. ------------------
  69. * NSSM is now translated into French.
  70. * Really ensure systems recovery actions can happen.
  71. The change supposedly introduced in v2.4 to allow service recovery
  72. actions to be activated when the application exits gracefully with
  73. a non-zero error code didn't actually work.
  74. Changes since 2.10
  75. ------------------
  76. * Support AppEnvironment for compatibility with srvany.
  77. Changes since 2.9
  78. -----------------
  79. * Fixed failure to compile messages.mc in paths containing spaces.
  80. * Fixed edge case with CreateProcess().
  81. Correctly handle the case where the application executable is under
  82. a path which contains space and an executable sharing the initial
  83. part of that path (up to a space) exists.
  84. Changes since 2.8
  85. -----------------
  86. * Fixed failure to run on Windows versions prior to Vista.
  87. Changes since 2.7
  88. -----------------
  89. * Read Application, AppDirectory and AppParameters before each restart so
  90. a change to any one doesn't require restarting NSSM itself.
  91. * Fixed messages not being sent to the event log correctly in some
  92. cases.
  93. * Try to handle (strictly incorrect) quotes in AppDirectory.
  94. Windows directories aren't allowed to contain quotes so CreateProcess()
  95. will fail if the AppDirectory is quoted. Note that it succeeds even if
  96. Application itself is quoted as the application plus parameters are
  97. interpreted as a command line.
  98. * Fixed failed to write full arguments to AppParameters when
  99. installing a service.
  100. * Throttle restarts.
  101. Back off from restarting the application immediately if it starts
  102. successfully but exits too soon. The default value of "too soon" is
  103. 1500 milliseconds. This can be configured by adding a DWORD value
  104. AppThrottle to the registry.
  105. Handle resume messages from the service console to restart the
  106. application immediately even if it is throttled.
  107. * Try to kill the process tree gracefully.
  108. Before calling TerminateProcess() on all processes assocatiated with
  109. the monitored application, enumerate all windows and threads and
  110. post appropriate messages to them. If the application bothers to
  111. listen for such messages it has a chance to shut itself down gracefully.
  112. Changes since 2.6
  113. -----------------
  114. * Handle missing registry values.
  115. Warn if AppParameters is missing. Warn if AppDirectory is missing or
  116. unset and choose a fallback directory.
  117. First try to find the parent directory of the application. If that
  118. fails, eg because the application path is just "notepad" or something,
  119. start in the Windows directory.
  120. * Kill process tree when stopping service.
  121. Ensure that all child processes of the monitored application are
  122. killed when the service stops by recursing through all running
  123. processes and terminating those whose parent is the application
  124. or one of its descendents.
  125. Changes since 2.5
  126. -----------------
  127. * Removed incorrect ExpandEnvironmentStrings() error.
  128. A log_event() call was inadvertently left in the code causing an error
  129. to be set to the eventlog saying that ExpandEnvironmentStrings() had
  130. failed when it had actually succeeded.
  131. Changes since 2.4
  132. -----------------
  133. * Allow use of REG_EXPAND_SZ values in the registry.
  134. * Don't suicide on exit status 0 by default.
  135. Suiciding when the application exits 0 will cause recovery actions to be
  136. taken. Usually this is inappropriate. Only suicide if there is an
  137. explicit AppExit value for 0 in the registry.
  138. Technically such behaviour could be abused to do something like run a
  139. script after successful completion of a service but in most cases a
  140. suicide is undesirable when no actual failure occurred.
  141. * Don't hang if startup parameters couldn't be determined.
  142. Instead, signal that the service entered the STOPPED state.
  143. Set START_PENDING state prior to actual startup.
  144. Changes since 2.3
  145. -----------------
  146. * Ensure systems recovery actions can happen.
  147. In Windows versions earlier than Vista the service manager would only
  148. consider a service failed (and hence eligible for recovery action) if
  149. the service exited without setting its state to SERVICE_STOPPED, even if
  150. it signalled an error exit code.
  151. In Vista and later the service manager can be configured to treat a
  152. graceful shutdown with error code as a failure but this is not the
  153. default behaviour.
  154. Try to configure the service manager to use the new behaviour when
  155. starting the service so users who set AppExit to Exit can use recovery
  156. actions as expected.
  157. Also recognise the new AppExit option Suicide for use on pre-Vista
  158. systems. When AppExit is Suicide don't stop the service but exit
  159. inelegantly, which should be seen as a failure.
  160. Changes since 2.2
  161. -----------------
  162. * Send properly formatted messages to the event log.
  163. * Fixed truncation of very long path lengths in the registry.
  164. Changes since 2.1
  165. -----------------
  166. * Decide how to handle application exit.
  167. When the service exits with exit code n look in
  168. HKLM\SYSTEM\CurrentControlSet\Services\<service>\Parameters\AppExit\<n>,
  169. falling back to the unnamed value if no such code is listed. Parse the
  170. (string) value of this entry as follows:
  171. Restart: Start the application again (NSSM default).
  172. Ignore: Do nothing (srvany default).
  173. Exit: Stop the service.
  174. Changes since 2.0
  175. -----------------
  176. * Added support for building a 64-bit executable.
  177. * Added project files for newer versions of Visual Studio.
上海开阖软件有限公司 沪ICP备12045867号-1