X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;ds=sidebyside;f=README.txt;h=830ca67f5ce8d784e6748eddf63205ce746edda0;hb=7fdd3f6c44421a7c4872ecea56e550c19489c949;hp=685807af22ce5afbaef248f4dcbcc1ed41f84b83;hpb=53371f115d94fbbc7e5cb60853b9e4a5d356d4b0;p=nssm.git diff --git a/README.txt b/README.txt index 685807a..830ca67 100644 --- a/README.txt +++ b/README.txt @@ -56,6 +56,9 @@ AppEnvironment. Since version 2.22, NSSM can set the managed application's process priority and CPU affinity. +Since version 2.22, NSSM can apply an unconditional delay before restarting +an application which has exited. + Since version 2.22, NSSM can rotate existing output files when redirecting I/O. Since version 2.22, NSSM can set service display name, description, startup @@ -129,6 +132,17 @@ You can change the threshold for the service by setting the number of milliseconds as a REG_DWORD value in the registry at HKLM\SYSTEM\CurrentControlSet\Services\\Parameters\AppThrottle. +Alternatively, NSSM can pause for a configurable amount of time before +attempting to restart the application even if it successfully ran for the +amount of time specified by AppThrottle. NSSM will consult the REG_DWORD value +at HKLM\SYSTEM\CurrentControlSet\Services\\Parameters\AppRestartDelay +for the number of milliseconds to wait before attempting a restart. If +AppRestartDelay is set and the application is determined to be subject to +throttling, NSSM will pause the service for whichever is longer of the +configured restart delay and the calculated throttle period. + +If AppRestartDelay is missing or invalid, only throttling will be applied. + NSSM will look in the registry under HKLM\SYSTEM\CurrentControlSet\Services\\Parameters\AppExit for string (REG_EXPAND_SZ) values corresponding to the exit code of the application. @@ -588,6 +602,7 @@ Thanks to Doug Watson for suggesting file rotation. Thanks to Арслан Сайдуганов for suggesting setting process priority. Thanks to Robert Middleton for suggestion and draft implementation of process affinity support. +Thanks to Andrew RedzMax for suggesting an unconditional restart delay. Licence -------